[Gmsh] Scaling all the entities of a step file
cgeuzaine at uliege.be
Sat May 23 09:50:04 CEST 2020
> On 23 May 2020, at 09:26, Zuheyr Alsalihi <alsalihi at vki.ac.be> wrote:
> Dear Christophe, Dear GMSH users,
> I need to create a script, or commandline option to read a step file, and scale the complete model with the purpose of converting the model from mm to m.
Geometry.OCCTargetUnit = "M";
before merging the step file.
> I tried to do transform all the geometrical entities with dilate command, save it to a .geo file but run into error message, such as:
> Error : Unknown GEO point with tag 5
> Error : Unknown GEO point with tag 3 ...
> practically all points. I attach the step file, the written out incomplete geo file (I used duplicate option), and the errors generated.
> I can mesh the step file and generate an STL grid perfectly well.
> Many thanks for reading!
> Best regards,
> gmsh mailing list
> gmsh at onelab.info
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
More information about the gmsh