Search found 32 matches
- Wed Jun 19, 2019 7:44 pm
- Forum: Python scripting and macros
- Topic: Bug in FreeCAD?
- Replies: 10
- Views: 2009
Re: Bug in FreeCAD?
Was anyone able to figure this out? I'm quite sure its a problem with FreeCAD library, but is there any possibility of this being fixed in Future Versions?
- Tue Jun 11, 2019 9:39 pm
- Forum: Python scripting and macros
- Topic: Bug in FreeCAD?
- Replies: 10
- Views: 2009
Re: Bug in FreeCAD?
Hello Yorik, I honestly think the problem is not in the file. As I mentioned above, the online website renders it perfectly. I am also having the same problems with .dae format for different files. Should I attach more files that have the same problem? (.dae and .3ds)? In case you come to know what ...
- Mon Jun 10, 2019 4:45 pm
- Forum: Python scripting and macros
- Topic: Bug in FreeCAD?
- Replies: 10
- Views: 2009
Re: Bug in FreeCAD?
So does that mean FreeCAD has a bug and can not import 3ds/dae files properly?
- Fri Jun 07, 2019 9:41 pm
- Forum: Python scripting and macros
- Topic: Bug in FreeCAD?
- Replies: 10
- Views: 2009
Bug in FreeCAD?
Hello everyone. I was working on a project recently to convert .dae and .3ds files to .stl format and I was using FreeCAD Python libraries for this purpose. After I was done developing, I tested the software with a few input files and it worked fine. I started working on a different module of the pr...
- Tue May 21, 2019 5:39 pm
- Forum: Python scripting and macros
- Topic: Bounding box for .stl mesh
- Replies: 7
- Views: 2387
Re: Bounding box for .stl mesh
Volume of the part (stl mesh). And I also need the surface area.
I have done the following:
And this does give me the area and volume, but is this the right approach?
I have done the following:
Code: Select all
FreeCAD.getDocument("Unnamed").Objects[0].Mesh.Area
FreeCAD.getDocument("Unnamed").Objects[0].Mesh.Volume
- Tue May 21, 2019 4:11 pm
- Forum: Python scripting and macros
- Topic: Bounding box for .stl mesh
- Replies: 7
- Views: 2387
Re: Bounding box for .stl mesh
Thanks a lot for your response! How do I calculate the volume though?
- Mon May 20, 2019 11:12 pm
- Forum: Python scripting and macros
- Topic: Bounding box for .stl mesh
- Replies: 7
- Views: 2387
Bounding box for .stl mesh
I am working on a project to input an .stl mesh and calculate the volume and bounding box using a python script. I believe FreeCAD has a python console that spits out a code for whatever operation someone performs. I turned the bounding box attribute to true and a bounding box appeared with the appr...
- Thu May 16, 2019 7:28 pm
- Forum: Help on using FreeCAD
- Topic: Converting .stl to .step using Python and FreeCAD
- Replies: 0
- Views: 1374
Converting .stl to .step using Python and FreeCAD
I am working on a project to convert a .stl file to .step in Python. I followed https://www.youtube.com/watch?v=g_UeaFTmbRs youtube video on how to do this with the help of a GUI. In took help from the Python Console built-in FreeCAD and came up with the following script. In the Script below, I am u...
- Wed May 15, 2019 7:07 pm
- Forum: Help on using FreeCAD
- Topic: view color coded thickness in FreeCAD
- Replies: 1
- Views: 347
view color coded thickness in FreeCAD
Hello everyone, I have a 3D printer that I use a lot to print parts from different people. Before printing, I generally view the parts in FreeCAD software. Sometimes, the part dimensions are such that the 3D printer won't print them (or it would be difficult for it to print). Is there a way I can se...
- Wed May 01, 2019 7:04 pm
- Forum: Python scripting and macros
- Topic: Converting .sldprt to .stl
- Replies: 4
- Views: 20895
Re: Converting .sldprt to .stl
Thanks for your response NormandC. I am looking to convert .sldprt to .stl using a Python script, rather than using a user interface.
I did find some resources online (GradCAD, Datakit Cross manager etc.) but all these methods (as far as I know) provide a user interface and not APIs.
I did find some resources online (GradCAD, Datakit Cross manager etc.) but all these methods (as far as I know) provide a user interface and not APIs.