See operation CAD
CAD-Functions for Models:
CAD functions for Models
see also:
MultiModelSupport
Codes for Models
Models use keycode M
M internal Model
Using internal sub-models in Cad mode:
Submodel
- Select sub-model from list (icon "LIST")
- or select an existing sub-model ()
Position,Orientation
- select point (orientation from active construction-plane) - or
- select plane
[Scale]
- magnifying scale; default is 1
Examples:
# Position P20
M20="submodel_1" P20
# Position and Orientation from plane R20
M21="submodel_1" R20
# Internal Submodel "SM1", rotated 45 degree around z-axis, scale=2
M22="SM1" R(P(100 0) 45) VAL(2)
- External sub-models are internally cached, but not stored with the model
- the model name must not include a path (and no '/' or '\').
- all exported objects of the submodel (its joints) will be imported
Text of imported notes will be queried newly.)
Using external sub-models in Manual mode:
By keying in eg:
M28=”Data/Mod1.gcad” P (0 0 0) DZ DIY
Creation of internal sub-models:
- Menu subModels / move main - new submodel
copy (move) all objects of the active main model to a sub-model
- Menu subModels / load sub-model from file
Load a model from a file into a new (external) sub-model.
- Menu subModels / save active submodel to file
- save internal-submodel to file (makes external-model)
M external Model
Using external sub-models in Manual mode:
Positioning an external sub-model
Submodel
- Select a modelfile from list (or use middle-mousebutton) )
- or select an existing sub-model
Modelname: see Symbolic filenames.
Position,Orientation
Origin and orientation of the submodel
[Scale]: magnifying scale; default is 1
The filename can have a symbolic-pathname and also system-variables.
External sub-models are internally cached, but not stored with the model.
Examples:
M20="Data/Niet1.gcad" R(P(100 0) DIY) VAL(0.5)
M21="Data/wsh14.stp" R(P(200 0))
M22="Data/obj43.wrl" R(P(0 0 0) R20) # Mockup-Model
Using external sub-models in Manual mode:
By keying in eg:
M28=”Data/Mod1.gcad” P (0 0 0) DZ DIY
Creation of external sub-models:
- Menu subModels / load sub-model from file
Load a model from a file into a new (external) sub-model.
- Menu subModels / save active submodel to file
- save internal-submodel to file (makes external-model)
M CatalogPart
Using CatalogParts in CAD mode:
Positioning an Catalog-Part
CatalogPart
- Select a catalogPart from list (or use middle-mousebutton)
- or select an existing catalogPart ()
The catalogPartname consists of catalog name, part name; see Catalog.
Position,Orientation
Origin and orientation of the submodel
[Scale]: magnifying scale; default is 1
Example external Model:
M22="Schrauben/SKS_10x30.ctlg" P20 VAL(1)
Using CatalogParts in Manual mode:
By keying in eg:
M28=”Profile/6x4_150.ctlg” P (0 0 0) DZ DIY
Creation of CatalogParts:
See CatalogParts.