Scaling geometries
Posted: Fri Jun 10, 2016 7:49 am
Hello everybody,
I need to import and scale a particular geometry file. The original geometry file is available in .dsm and .stl format. I'm looking to perform a simple uniform scaling operation. The command that have tried to use is:
% y9.dsm Scale -factor 1.1
Where y9.dsm is the name of the geometry file and I'm using a scale factor of 1.1 since I want the geometry to be scaled up by 10%. This command, however throws the following error:
"Scale: error on object y9.dsm"
Clicking on the error message produces a pop up with the following details:
Scale: error on object y9.dsm
while executing
"y9.dsm Scale -factor 1.1"
("uplevel" body line 1)
invoked from within
"uplevel #0 {y9.dsm Scale -factor 1.1}"
invoked from within
"interp eval $::tkcon::OPT(exec) $args"
(procedure "::tkcon::EvalSlave" line 2)
invoked from within
"EvalAttached $cmd"
The output in the Simvascular terminal reads "required arg "-factor" not found"
Simvascular version details: SIMVASCULAR: version November.13.2011 ( this is the version used in my lab).
I would appreciate any help with this issue or suggestions regarding alternative methods of scaling. Thank You!
I need to import and scale a particular geometry file. The original geometry file is available in .dsm and .stl format. I'm looking to perform a simple uniform scaling operation. The command that have tried to use is:
% y9.dsm Scale -factor 1.1
Where y9.dsm is the name of the geometry file and I'm using a scale factor of 1.1 since I want the geometry to be scaled up by 10%. This command, however throws the following error:
"Scale: error on object y9.dsm"
Clicking on the error message produces a pop up with the following details:
Scale: error on object y9.dsm
while executing
"y9.dsm Scale -factor 1.1"
("uplevel" body line 1)
invoked from within
"uplevel #0 {y9.dsm Scale -factor 1.1}"
invoked from within
"interp eval $::tkcon::OPT(exec) $args"
(procedure "::tkcon::EvalSlave" line 2)
invoked from within
"EvalAttached $cmd"
The output in the Simvascular terminal reads "required arg "-factor" not found"
Simvascular version details: SIMVASCULAR: version November.13.2011 ( this is the version used in my lab).
I would appreciate any help with this issue or suggestions regarding alternative methods of scaling. Thank You!