Working with 3D Models > Commands for 3D Modeling Functionality
Commands for 3D Modeling Functionality

This document provides a list of commands available in the ODA Drawings Debug application for 3D modeling functionality.

Command Group/Command Name Module Description
SubDMesh/ConvToMesh ExCommands Converts the given object to a mesh (an OdDbSubDMesh object). The object should be one of these types: OdDbPolyline, OdDb3dSolid, OdDbSurface, OdDbRegion. Supports colors and materials.
MODELER GEOMETRY/CreateSurface ExCommands Creates surface from the given object. The object should be one of these types: OdDbDbCircle, OdDbEllipse, OdDb3dPolyline, OdDb2dPolyline, OdDbPolyline, OdDbSpline, OdDb3dSolid, OdDbSolid.
Spline/ToPolyline ExCommands Converts spline to a polyline.
Draw/Extrude ExCommands Creates an extruded solid or surface from the given entity by the specified direction vector or height and taper angle. The command uses the AlignOption::kTranslatePathToSweepEntity option that means that the solid is created at the position of the original (source) entity. Implemented in SpaModeler and ModelerGeometry modelers.
Explode/explodeGeometry ExCustObjs Explodes geometry.
Explode/explodeGeometryToBlock ExCustObjs Explodes geometry to block-table.
Explode/explode_test ExCustObjs Same as explodeGeometry.
Explode/explodeToBlock ExCustObjs Same as explodeGeometryToBlock.
3D create/CreateBreps ExCustObjs Creates different entities using ACIS B-Rep Builder.
Sat tests/CreateRegionsFromCurves ExCustObjs Creates regions from curves.
Sat tests/ExtrudeRegionsFromCurves ExCustObjs Creates regions from curves and extrude them by height 5 and -5.
Sat tests/ExtrudeRegionsFromModelSpace ExCustObjs Gets all regions from the model space and extrudes them by height 5 and -5.
Sat tests/ExtrudeSolid ExCustObjs Extrudes solids faces. Currently not implemented.
Sat tests/RevolveRegionsFromModelSpace ExCustObjs Creates solids by revolving all regions from the model space using the revolve axis (OdGePoint3d::kOrigin, OdGeVector3d::kYAxis).
Sat tests/CheckInterference ExCustObjs Checks whether the solid interferes with another. Implemented for SpaModeler only.
Sat tests/getMassProp ExCustObjs Computes volume, centroid, moment of inertia, radius of gyration, principle axis and other physical quantities. Implemented for SpaModeler only.
Sat tests/getAreaProp ExCustObjs Computes area of regions, centroid, moment of inertia, radius of gyration, principle axis and other physical quantities. Implemented for SpaModeler only.
Sat tests/GetSection ExCustObjs Creates a section of the solid perpendicular to the direction of view. Implemented for SpaModeler only.
Sat tests/GetSlice ExCustObjs Slices solid or surface by a plane created by the specified point and normal. Implemented for SpaModeler only.
Sat tests/GetSliceSurf ExCustObjs Slices solid or surface by a given surface. Implemented for SpaModeler only.
Sat tests/thicken ExCustObjs Creates a 3D solid object by thickening the selected surface by a specified amount. Currently not implemented.
Sat tests/convertToRegion ExCustObjs Creates region entity (an OdDbRegion object) for each face of the surface.
Sat tests/createFromCurves ExCustObjs Creates regions from curves.
Sat tests/SeparateBody ExCustObjs Splits the solid into an array of solids representing the additional disjoint volumes. Implemented for SpaModeler only.
Surface solid tests/Sweep ExCustObjs Creates a swept solid by sweeping the selected entity along the specified path. Completely implemented for SpaModeler. Implementation for ModelGeometry has restrictions.
Surface solid tests/Revolve ExCustObjs Creates a solid by revolving the specified curve, region, or planar surface around the specified axis of revolution. Implemented for SpaModeler only.
Surface solid tests/CreateLoftedSolid ExCustObjs Creates a lofted solid from the given curves. There are 3 modes: with only cross section curves, with path curve or with guide curves. Implemented for SpaModeler only.
Surface solid tests/CreateLoftSurface ExCustObjs Creates a surface from the selected guide curves. Implemented for SpaModeler only.
Surface solid tests/intersectWith ExCustObjs Intersects the selected region with an entity curve.
Surface solid tests/CreateNurbSurface ExCustObjs Creates NURBS surface using pre-defined data.
Surface solid tests/BooleanPETest ExCustObjs Creates a regions with the B-Rep Builder, performs boolean subtract operation and extrudes the resulting regions as input data for creation of a solid by extrusion. After that perform another boolean operations (subtract) with this solid and created one.
Surface solid tests/CopySubent ExCustObjs Simply copies edges and faces of the selected solid.
Subentity tests/ExtrudeFaces ExCustObjs Extrudes faces of the selected solid. Additional parameter are: height and taper. Currently not implemented.
Subentity tests/NumChanges ExCustObjs Returns the number of changes occurred since the solid's creation. Currently not implemented.
Subentity tests/TransformFaces ExCustObjs Transforms faces of solid by applying the transformation matrix. Currently not implemented.
Subentity tests/ShellBody ExCustObjs Transforms the solid into a thin-walled solid shell by offsetting faces. Distance entered as input parameter. Currently not implemented.
Subentity tests/TaperFaces ExCustObjs Tapers faces about the specified base point and draft vector for a specified draft angle. Currently not implemented.
Subentity tests/SetSubentColor ExCustObjs Sets the specified color of the subentities of selected OdDb3dSolid.
Subentity tests/SetSubentMaterial ExCustObjs Sets a material (TestMaterial) for the subentities of selected OdDb3dSolid. Currently not implemented.
Subentity tests/ChamferEdges ExCustObjs Creates chamfers at the edges of a selected solid or a surface. Currently not implemented.
MODELER GEOMETRY/SpaAuditBREP ModelerCommands Checks entities by SpaModeler. Two modes can be used: invalid entities are colored by red and valid - by green, or invalid entities are removed. The command can process all entities in the database, or only in model space, or only selected.
MODELER GEOMETRY/auditBREP ModelerCommands Checks selected (OdDbSurface, OdDbRegion, OdDb3dSolid or OdDbBody) entities by the ACIS B-Rep Builder validator. Two modes can be used: invalid entities are colored by red and valid - by green, or invalid entities are removed. Command can process all entities in the database, or only in model space, or only selected.
MODELER GEOMETRY/sweep_ex ModelerCommands Interactive analogue of the Sweep command (see Surface solid tests/Sweep).
MODELER GEOMETRY/EnableNewTessellation ModelerCommands Switches between two tessellation modes in the ModelerGeometry modeler.
MODELER GEOMETRY/copyBREP ModelerCommands Copies the selected entity (OdDbSurface, OdDbRegion, OdDb3dSolid or OdDbBody) by ACIS B-Rep Builder. Input data can be optionally verified by B-Rep Builder.
MODELER GEOMETRY/Union ModelerCommands Executes the boolean union operation on selected entities (OdDb3dSolid, OdDbSurface or OdDbRegion).
MODELER GEOMETRY/Subtract ModelerCommands Executes the boolean subtract operation on selected entities (OdDb3dSolid or OdDbRegion). You can also apply this operation to two groups of entities. In this case, the entities in each group will be united.
MODELER GEOMETRY/Intersect ModelerCommands Intersects the selected entity with other selected one. Entities can be OdDb3dSolid or OdDbRegion.
MODELER GEOMETRY/IntersectSurf ModelerCommands Intersects the selected surface with other selected one. Surfaces can be OdDb3dSolid, OdDb3dSolid, OdDbRegion or OdDbBody).
MODELER GEOMETRY/UnionEx ModelerCommands Interactively unites the selected objects.
MODELER GEOMETRY/SubtractEx ModelerCommands Interactively subtracts the selected objects.
MODELER GEOMETRY/IntersectEx ModelerCommands Interactively intersects the selected objects.
MODELER GEOMETRY/Imprint ModelerCommands Intersects the given entity with a solid or surface and imprints their intersection graph onto it.
MODELER GEOMETRY/solidedit ModelerCommands Perform the Separate, OffsetBody or CleanBody command on the selected solid. The Separate command separates the solid into an array of solids representing the additional disjoint volumes. This solid is reduced to a solid with one volume. The OffsetBody command creates parallel copies of all faces by the specified distance. The CleanBody command removes all edges and faces that are not needed for supporting the topology of the solid. Implemented for SpaModeler only.
MODELER GEOMETRY/region ModelerCommands Creates a region from curves.
MODELER GEOMETRY/LineContainment ModelerCommands Finds intersection of the solid and a line. Implemented for SpaModeler only.
MODELER GEOMETRY/SurfaceLineContainment ModelerCommands Finds intersection of the surface and a line. Implemented for SpaModeler only.

See Also

Working with 3D Models

Copyright © 2002 – 2020. Open Design Alliance. All rights reserved.