mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
New XCAFDoc classes: - XCAFDoc_AssemblyIterator: iterator in depth along the assembly tree - XCAFDoc_AssemblyGraph: assembly graph with iterator - XCAFDoc_AssemblyTool: provides generic methods for traversing assembly tree and graph A method for re-scaling (sub-)assembly geometry is added to XCAFDoc_Editor. New DRAW commands: - XDumpAssemblyTree: iterates through the assembly tree in depth up to the specified level, if any - XDumpAssemblyGraph: prints assembly graph structure - XDumpNomenclature: prints number of (sub-)assembly/part instances - XRescaleGeometry: applies geometrical scale to (sub-)assembly
12 lines
226 B
Plaintext
12 lines
226 B
Plaintext
|
|
ReadStep D_First [locate_data_file "as1-oc-214-mat.stp"]
|
|
|
|
set RESCALE_ASSEMBLY_FACTOR 0.5
|
|
set RESCALE_ASSEMBLY_ARGS "-root 0:1:1:9 -force"
|
|
|
|
set TypeOfFile ""
|
|
|
|
set AddToDocument ""
|
|
|
|
set CompareDocumentsMode "RESCALE_ASSEMBLY"
|