![]() ![]() 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): 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") introduced in version 0.I create a section (rectangular face) and a wire fro the extrusion along himself, then the code is: App Link objects linked to the appropriate object types and App Part containers with the appropriate visible objects inside can also be used as profiles and to specify the direction.If multiple objects are selected, multiple Extrude objects are created. Shape list: here you select, what shapes to extrude.It is checked by default, if a closed wire was preselected before invoking Part Extrude. Create Solid checkbox: if checked, extruding a closed wire or edge will yield a solid.Taper Outward Angle: positive angle means profile is expanded at other end of extrusion. ![]() Symmetric: spreads out the extrusion into both directions, so that the profile remains in the middle.Length fields: set length of extrusion.If both lengths are zero, the length of this vector sets the length of extrusion, and values are always in mm, regardless of unit preferences. X,Y,Z input fields: set or display the direction vector of extrusion.Extruderea unei cochilie de fațete, va produce un Compsolid.Extrude un Draft Shape String, va produce un compus solid (șirul este alcătuit din litere, care sunt fiecare un solid).To run your Python script inside FreeCAD, be sure to save it with the. Extrudare fețetei (de exemplu, un plan), va produce un solid (de exemplu, Cuboid) An alternative method for creating, saving, and running your own Python scripts is to create them outside FreeCAD, using an editor of your choice (for example, Vim).Extrudează un filament închis (de exemplu, Draft Wire), va produce în cele din urmă o coajă (mai multe fețe atașat) sau, în cazul în care „solid“ este parametrul „true“, produce un solid.Extrude un filament deschis (de exemplu, un proiect de fire), va produce o cochilie deschisă (mai multe fațete îmbinate).Extrudează o margine închisă (de exemplu, cerc) va produce în cele din urmă o față închisă (de exemplu, cilindru nedeterminat) sau parametrul „solid“ este „adevărat“, va produce un solid (de exemplu, un cilindru solid închis).Extruderea unei margine deschisă (de exemplu, linie, arc), va produce o fațetă deschisă (de exemplu, planul).Extruderea unui vertex (punct), va produce o margine liniară.În cele mai comune scenarii, lista de mai jos prezintă forma tip de ieșire așteptat de tip de formă de la o intrare/input dată. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |