The scene is the top of the modeling structure. It holds groups which build individual models. A group contains of a number of models assigned to extruders.
More...
|
void | NotifyPropertyChanged (String propertyName="") |
|
void | FireSceneChanged () |
|
void | FireMeshChanged () |
|
void | AddGroup (TopoGroup g) |
|
TopoGroup | NewGroup () |
|
void | RemoveGroup (TopoGroup group) |
|
void | Clear () |
|
void | AssignModelToGroup (TopoGroup g, TopoModel model, TopoGroup copyPosFrom=null) |
|
void | MoveSelectedGroups (double dx, double dy) |
|
RHBoundingBox | TotalBoundingBox () |
|
bool [] | UsedExtruders () |
|
void | RepairWindows (TopoModel m) |
|
void | SaveScene (string[] filenames, int slicerHint=0, int infillExtruder=-1) |
| Saves the complete scene into one or more files. If only one filename is given, all models are merged into that file. If you provide a file array, each file will be stored with the content of that extruder matiching the position. More...
|
|
bool | Load (string[] filenames, double scale=1, IInfoProgressPanel progressPanel=null) |
| Try to load an object file. More...
|
|
void | LoadAsync (string[] filenames, double scale, IInfoProgressPanel progressPanel, LoadFinishedCallback callback) |
| Try to load an object file. More...
|
|
bool | HaveFilesChangedOnDisk () |
|
void | ResetChangedFileDate () |
|
void | UpdateChangedFiles (IInfoProgressPanel progressPanel=null) |
|
void | Autoposition () |
|
void | ForceRegenerateMesh () |
|
|
bool | AutosizeFailed = false |
|
|
bool | SupportRepair [get] |
|
bool | PropagateChanges [get, set] |
|
BindingList< TopoGroup > | Groups [get] |
|
bool | CutFaces [get, set] |
|
bool | UpdateCuts [get, set] |
|
int | CutPosition [get, set] |
|
int | CutInclination [get, set] |
|
int | CutAzimuth [get, set] |
|
int | SelectedGroupsCount [get] |
|
TopoGroup | FirstSelectedGroup [get] |
|
|
SceneChangedEvent | SceneChanged |
| This even gets fired if new meshes were added or existing got removed or meshes got moved between groups. More...
|
|
SceneChangedEvent | SelectionChanged |
| This event gets fired when one of the groups changes the selected property. More...
|
|
SceneChangedEvent | MeshChanged |
| This event gets fired if a mesh was modified in shape, position etc. So all viewers can redraw it. More...
|
|
PropertyChangedEventHandler | PropertyChanged |
|
The scene is the top of the modeling structure. It holds groups which build individual models. A group contains of a number of models assigned to extruders.
◆ Load()
bool RepetierHostExtender.geom.TopoScene.Load |
( |
string [] |
filenames, |
|
|
double |
scale = 1 , |
|
|
IInfoProgressPanel |
progressPanel = null |
|
) |
| |
Try to load an object file.
- Parameters
-
filename | File to import |
scale | Scale object by this factor |
- Returns
- true when loading was a success
◆ LoadAsync()
void RepetierHostExtender.geom.TopoScene.LoadAsync |
( |
string [] |
filenames, |
|
|
double |
scale, |
|
|
IInfoProgressPanel |
progressPanel, |
|
|
LoadFinishedCallback |
callback |
|
) |
| |
Try to load an object file.
- Parameters
-
filename | File to import |
scale | Scale object by this factor |
callback | Callback function gets called after loading is finished |
- Returns
- true when loading was a success
◆ SaveScene()
void RepetierHostExtender.geom.TopoScene.SaveScene |
( |
string [] |
filenames, |
|
|
int |
slicerHint = 0 , |
|
|
int |
infillExtruder = -1 |
|
) |
| |
Saves the complete scene into one or more files. If only one filename is given, all models are merged into that file. If you provide a file array, each file will be stored with the content of that extruder matiching the position.
- Parameters
-
filenames | List of filenames to create |
slicerHint | Hint for special tweaks. 1 = Slic3r, 2 = Slic3r not preserve positions |
◆ MeshChanged
SceneChangedEvent RepetierHostExtender.geom.TopoScene.MeshChanged |
This event gets fired if a mesh was modified in shape, position etc. So all viewers can redraw it.
◆ SceneChanged
SceneChangedEvent RepetierHostExtender.geom.TopoScene.SceneChanged |
This even gets fired if new meshes were added or existing got removed or meshes got moved between groups.
◆ SelectionChanged
SceneChangedEvent RepetierHostExtender.geom.TopoScene.SelectionChanged |
This event gets fired when one of the groups changes the selected property.
The documentation for this class was generated from the following file:
- /Volumes/[C] Windows 7/Users/littwin/Documents/Projekte/Repetier-Host/src/RepetierHostExtender/geom/TopoScene.cs