10/3/2023 0 Comments Freecad extrude path![]() TypeError: argument 1 must be Part.TopoShape, not Noneīut I have checked.my section is a toposhape. So I have tried to make a macro and this the code I have thought (I know that the result aren't right but I'll adjust it time after time): This is the documentation wiki of FreeCAD. I have try makePipe again, and it doesn't orient the section always normal to the path, and I like tha it be. So I have thought for solve this problems, ad I think that the macro should check the orientation vector of the wire for each edge, and orienting the section normal to this vector.įor do this I have found somethig like Part.rotate or something like that, but I can't obtain automatically the orietation vector. the final object is put in the position of the section and not in the position of the path (It wold be good to choose this feature). the section isn't normal to the path, but it rest with the same orientation Selection = ()į("you have to select 2 object, a section and a wire") P.S.I create a section (rectangular face) and a wire fro the extrusion along himself, then the code is: But at that point you’re moreso using a master sketch or. TypeError: argument 1 must be Part.TopoShape, not Noneīut I have checked.my section is a toposhape. In the main branch of FreeCAD the only way this can be replicated is by creating a separate sketch and using external geometry tool to bring vertexes or geometry in, then resketch the geometry of interest, then use constraints to position it in the same place as sketch 1. In the main branch of FreeCAD the only way this can be replicated is by creating a separate sketch and using external geometry tool to bring vertexes or geometry in, then resketch the geometry of interest, then use constraints to position it in the same place as sketch 1. So I have tried to make a macro and this the code I have thought (I know that the result aren't right but I'll adjust it time after time): ![]() Exist a guide for use pythonOCC under FreeCAD, or can anyone help me Thx. ![]() Now for import PythonOCC in freecad I wrote 'import OCC', but i cant use any function. Read the FreeCAD code of conduct 26 posts Previous 1 2 3 Next CIAO. Post here for help on using FreeCADs graphical user interface (GUI). I create a section (rectangular face) and a wire fro the extrusion along himself, then the code is: Post here for help on using FreeCADs graphical user interface (GUI).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |