Search found 228 matches
- Sat Jun 21, 2014 3:51 pm
- Forum: Python scripting and macros
- Topic: How to get the file name of an exported mesh
- Replies: 0
- Views: 879
How to get the file name of an exported mesh
Hi guys! I have a collection of parts that I meshed using the mesh workbench and exported to different ASCII STL Format files. When they're exported, a copy of each mesh appears in the file where I have the collection of parts, so, is there an instruction to get the filename I used to export each me...
- Thu Jun 19, 2014 3:57 pm
- Forum: Python scripting and macros
- Topic: Doubts on getting the center of mass and inertia matrix
- Replies: 8
- Views: 5935
Re: Doubts on getting the center of mass and inertia matrix
Thanks! It is also important to write this:
Otherwise it'll give an error concerning App.
Code: Select all
import FreeCAD as App
- Wed Jun 18, 2014 11:35 pm
- Forum: Python scripting and macros
- Topic: Doubts on getting the center of mass and inertia matrix
- Replies: 8
- Views: 5935
Re: Doubts on getting the center of mass and inertia matrix
How can create a a function like Calc_Inertia("part",density) to automate the process of the calculation? I have the following code into a .py file, but it seems I'm doing something wrong. def Calc_Inercia(parte,densidad): list=App.ActiveDocument.getObjectsByLabel(parte) shape=list[0].Shap...
- Tue Jun 17, 2014 7:51 pm
- Forum: Python scripting and macros
- Topic: Doubts on getting the center of mass and inertia matrix
- Replies: 8
- Views: 5935
Re: Doubts on getting the center of mass and inertia matrix
Thanks for your answer!
- Tue Jun 17, 2014 3:36 pm
- Forum: Python scripting and macros
- Topic: Doubts on getting the center of mass and inertia matrix
- Replies: 8
- Views: 5935
Re: Doubts on getting the center of mass and inertia matrix
Thanks for your complete answer. One last thing: What are the units of the density value Freecad uses? Because I'm using milimeters as my length unit, so I don't to mess the calculation due to this
Best regards,
Charlie
Best regards,
Charlie
- Tue Jun 17, 2014 2:28 am
- Forum: Open discussion
- Topic: ASCII stl selection when exporting
- Replies: 4
- Views: 5478
ASCII stl selection when exporting
Hi guys! I had a bad time trying to export the freecad's parts into STL that were compatible with some utility programs for Matlab/Simulink. Matlab can actually handle STL in binary format, but no these useful programs. So, after hours trying with the classic File->Export, I found out that the Mesh ...
- Tue Jun 17, 2014 2:09 am
- Forum: Python scripting and macros
- Topic: Doubts on getting the center of mass and inertia matrix
- Replies: 8
- Views: 5935
Doubts on getting the center of mass and inertia matrix
Hi guys! I'm trying to model the parts of a biped robot, but for simulation purposes using Simmechanics it is required to get the inertia tensor and the center of gravity of the parts. I found here in the forum that there're some instructions that can do the work, but I have some doubts about the re...
- Wed Jun 11, 2014 11:06 pm
- Forum: Install / Compile
- Topic: [Solved]Errors with Cmakelists.txt
- Replies: 3
- Views: 2116
Re: Errors with Cmakelists.txt
I found it by libpyside. Thanks for your answer.
- Wed Jun 11, 2014 10:59 pm
- Forum: Install / Compile
- Topic: [Solved]Errors with Cmakelists.txt
- Replies: 3
- Views: 2116
Re: Errors with Cmakelists.txt
I'm using Ubuntu 14.04 64 bits and synaptic pointed Pyside-tools out as the pyside-dev package and that is what I installed. There is NO pyside installed in the directory /usr/lib/x86_64-linux-gnu/cmake even though I installed a bunch of pyside packages, including pyside-tools.
Any suggestions?
Any suggestions?
- Wed Jun 11, 2014 9:45 pm
- Forum: Install / Compile
- Topic: [Solved]Errors with Cmakelists.txt
- Replies: 3
- Views: 2116
[Solved]Errors with Cmakelists.txt
HI guys! I'm trying to compile Freecad using cmake-gui under ubuntu 14.04, but I'm having the following error: CMake Error at CMakeLists.txt:612 (find_package): By not providing "FindPySide.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provid...