Dear Filip,
The option "Geometry.OrientedPhysicals" is not what you are looking for (the
syntax error is because the -string command line option takes full .geo
commands as arguments, e.g. -string "Geometry.OrientedPhysicals=1;").
To create a single Physical Volume with all the elementary volumes defined in
the file test.stp, simply create a .geo file with the following commands:
SetFactory("OpenCASCADE");
vol() = ShapeFromFile("test.stp");
Physical Volume(1) = {vol()};
Christophe
> On 1 Apr 2018, at 10:01, [email protected] wrote:
>
> Hi all,
>
> I want to define my part as Physical Volume with the cmd. For this I use the
> following command:
>
> gmsh Desktop\test.stp -string "Geometry.OrientedPhysicals" -clscale 0.025 -3
> -o Desktop\test.msh
>
> I always got the error message : Error :
> 'C:\Users\Filip\AppData\Roaming/gmsh-tmp', line 1 : syntax error ()
>
> Neither the Physical Volume nor the mesh is created. What am I doing wrong?
> Do I use the correct command to create the Physical Volume?
> Thanks for your help.
> Filip
>
> Gesendet von Mail für Windows 10
>
> _______________________________________________
> gmsh mailing list
> [email protected]
> http://onelab.info/mailman/listinfo/gmsh
_______________________________________________
gmsh mailing list
[email protected]
http://onelab.info/mailman/listinfo/gmsh