Search found 79 matches
- Fri May 10, 2019 4:09 pm
- Forum: Python scripting and macros
- Topic: Does FreeCAD have tools or python code to create geometric models through input functions and boundaries?
- Replies: 12
- Views: 1438
Re: Does FreeCAD have tools or python code to create geometric models through input functions and boundaries?
Unfortunately, I can only model with implicit equations Why? Is it because there exists no parameter representation of the implicit surface you want to use? No. What I want to do is to enter an implicit equation in an input box and then model it, and I don't know in advance what the model represent...
- Fri May 10, 2019 2:32 am
- Forum: Python scripting and macros
- Topic: Does FreeCAD have tools or python code to create geometric models through input functions and boundaries?
- Replies: 12
- Views: 1438
Re: Does FreeCAD have tools or python code to create geometric models through input functions and boundaries?
Is it possible to integrate mayavi into FreeCAD?So I don't have to do import and export operations.microelly2 wrote: ↑Thu May 09, 2019 11:25 am see
https://docs.enthought.com/mayavi/mayavi/
https://youtu.be/r6OD07Qq2mw
there should be a way to export the cacluated surfaces to meshes and reimport them into FreeCAD.
- Fri May 10, 2019 2:03 am
- Forum: Python scripting and macros
- Topic: Does FreeCAD have tools or python code to create geometric models through input functions and boundaries?
- Replies: 12
- Views: 1438
Re: Does FreeCAD have tools or python code to create geometric models through input functions and boundaries?
Attached is an extension of the curve creation macro to create surfaces instead. The representation of surfaces must also be given in parameter form. Implicit functions (i.e. F(x,y,z) = 0) are not supported. This means when you want to create a sphere you have to enter: X(u,v) = 10*sin(u)*cos(v) Y(...
- Thu May 09, 2019 7:58 am
- Forum: Python scripting and macros
- Topic: Does FreeCAD have tools or python code to create geometric models through input functions and boundaries?
- Replies: 12
- Views: 1438
Re: Does FreeCAD have tools or python code to create geometric models through input functions and boundaries?
As far as I know, this is just a place to save arguments or expressions, and it doesn't have modeling capabilities.chrisb wrote: ↑Thu May 09, 2019 6:36 am Expression are what you need here. If you have lots of them, you may consider using Spreadsheet Workbench.
- Thu May 09, 2019 2:16 am
- Forum: Python scripting and macros
- Topic: Does FreeCAD have tools or python code to create geometric models through input functions and boundaries?
- Replies: 12
- Views: 1438
Does FreeCAD have tools or python code to create geometric models through input functions and boundaries?
I'd like to add a feature for FreeCAD that creates a model by entering a function and a boundary.Do you know any tools or packages that can do this?For example, if I want to create a sphere, I can enter the formula X ^ 2 + Y ^ 2 + Z ^ 2-4 and give the scope of the model to prevent the model from bei...
- Fri Apr 26, 2019 2:44 am
- Forum: Python scripting and macros
- Topic: How to change one property to a sub-property of another property ?
- Replies: 1
- Views: 289
How to change one property to a sub-property of another property ?
I want to set a PropertyEnumeration to a sub-property of a PropertyVectorDistance.
Or set a same parent property for the PropertyEnumeration and PropertyVectorDistance .
All I want to do is bind these two properties.
How can I do it?
Or set a same parent property for the PropertyEnumeration and PropertyVectorDistance .
All I want to do is bind these two properties.
How can I do it?
- Wed Apr 24, 2019 6:27 am
- Forum: Help on using FreeCAD
- Topic: How can I build a section of a Annular?
- Replies: 2
- Views: 236
How can I build a section of a Annular?
I want to build a model like the picture as followed. This model named Annular_Section, which was defined with four points and two radius. The ANNULAR_SECTION will produce an arc section of an annulus of rectangular cross section. Specify the two end points of the annular axis, Point1 and Point2, fo...
- Wed Apr 24, 2019 6:24 am
- Forum: Help on using FreeCAD
- Topic: How can I make a section of a Annular?
- Replies: 10
- Views: 1050
- Wed Apr 24, 2019 6:08 am
- Forum: Help on using FreeCAD
- Topic: How can I make a section of a Annular?
- Replies: 10
- Views: 1050
Re: How can I make a section of a Annular?
Can you explain what you want to do? Is the deveopement forum needed for this? It sounds like a help request to me... I'm sorry that I didn't explain clearly. I want to build a model like that picture. This model named Annular_Section, which was defined with four points and two radius. The ANNULAR_...
- Wed Apr 24, 2019 1:41 am
- Forum: Help on using FreeCAD
- Topic: How can I make a section of a Annular?
- Replies: 10
- Views: 1050
How can I make a section of a Annular?
How can I make a section of a Annular by using four points and two radius?