> On 23 May 2020, at 09:26, Zuheyr Alsalihi <alsal...@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.
> 

Set

Geometry.OCCTargetUnit = "M";

before merging the step file.

Christophe

> 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,
> Zuheyr
> 
>   
> <SourceDisk.step><error.txt><SourceDisk.geo>_______________________________________________
> gmsh mailing list
> gmsh@onelab.info
> http://onelab.info/mailman/listinfo/gmsh

— 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://www.montefiore.ulg.ac.be/~geuzaine




_______________________________________________
gmsh mailing list
gmsh@onelab.info
http://onelab.info/mailman/listinfo/gmsh

Reply via email to