Hello. I am currently using realthunders Freecad branch. 2022.1021
As the title states, is there any way to control how an imported mesh scales in FreeCAD? Using the "scaling factor" is difficult and requires a lot of trial and error to get it correct. If not, anybody know of any macros or some workflow that makes it easy to move files from blender into freecad?
Thank you for any help in advance.
A way to scale mesh by axis or units similiar to blender?
Forum rules
and Helpful information
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help
Also, be nice to others! Read the FreeCAD code of conduct!
Also, be nice to others! Read the FreeCAD code of conduct!
Re: A way to scale mesh by axis or units similiar to blender?
As you are asking here in the FreeCAD forum, you may consider to explain how it works in blender. AFAIK can Blender export STL format, which can be imported into FreeCAD.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: A way to scale mesh by axis or units similiar to blender?
There are a few options to transfer mesh data from Blender to Freecad STL as well as PLY are unitless. The default unit in Blender is 1 meter. That means that a cube with a size of 1m is saved in STL as 1 unit. Freecad assumes that the STL is saved in 1 unit = 1 mm. It is the same for PLY plus additonally you need to convert quads to tris as PLY accept both but Freecad only import triangles. To work around this STL as well as PLY export offers scaling options.
The better way is to use Collada (no default option) or OBJ or glTF. They all support units. So the transfer needs no addditonally scaling operations.
Of course the mesh in Blender should be in scale.
Blender is a mesh modeler and offers a lot of tools to manipulate and alter meshes. You should use these.
cheers
Re: A way to scale mesh by axis or units similiar to blender?
In Blender you can scale
- all directions -> x+y+z
- only one direction -> x or y or z
- except one direction -> x+y or x+z or y+z
cheers
Re: A way to scale mesh by axis or units similiar to blender?
Or export the file directly from Blender with a Sverchok WriteFCStd node.jeno wrote: ↑Wed Nov 30, 2022 7:32 amThere are a few options to transfer mesh data from Blender to Freecaddrizz.png
STL as well as PLY are unitless. The default unit in Blender is 1 meter. That means that a cube with a size of 1m is saved in STL as 1 unit. Freecad assumes that the STL is saved in 1 unit = 1 mm. It is the same for PLY plus additonally you need to convert quads to tris as PLY accept both but Freecad only import triangles. To work around this STL as well as PLY export offers scaling options.
The better way is to use Collada (no default option) or OBJ or glTF. They all support units. So the transfer needs no addditonally scaling operations.
Of course the mesh in Blender should be in scale.
Blender is a mesh modeler and offers a lot of tools to manipulate and alter meshes. You should use these.
cheers
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."