Repetier-Host Plugin  1.0
RepetierHostExtender.geom.TopoScene Class Reference

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...

List of all members.

Public Member Functions

void NotifyPropertyChanged (String propertyName="")
void FireSceneChanged ()
void FireMeshChanged ()
TopoGroup NewGroup ()
void RemoveGroup (TopoGroup group)
void Clear ()
void AssignModelToGroup (TopoGroup g, TopoModel model)
void MoveSelectedGroups (double dx, double dy)
RHBoundingBox TotalBoundingBox ()
bool[] UsedExtruders ()
void SaveScene (string[] filenames, int slicerHint=0)
 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.
bool Load (string[] filenames, double scale=1, IInfoProgressPanel progressPanel=null)
 Try to load an object file.
bool HaveFilesChangedOnDisk ()
void ResetChangedFileDate ()
void UpdateChangedFiles (IInfoProgressPanel progressPanel=null)
void Autoposition ()

Properties

BindingList< TopoGroupGroups [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]

Events

SceneChangedEvent SceneChanged
 This even gets fired if new meshes were added or existing got removed or meshes got moved between groups.
SceneChangedEvent SelectionChanged
 This event gets fired when one of the groups changes the selected property.
SceneChangedEvent MeshChanged
 This event gets fired if a mesh was modified in shape, position etc. So all viewers can redraw it.
PropertyChangedEventHandler PropertyChanged

Detailed Description

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.


Member Function Documentation

bool RepetierHostExtender.geom.TopoScene.Load ( string[]  filenames,
double  scale = 1,
IInfoProgressPanel  progressPanel = null 
)

Try to load an object file.

Parameters:
filenameFile to import
scaleScale object by this factor
Returns:
true when loading was a success
void RepetierHostExtender.geom.TopoScene.SaveScene ( string[]  filenames,
int  slicerHint = 0 
)

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:
filenamesList of filenames to create
slicerHintHint for special tweaks. 1 = Slic3r

Event Documentation

This event gets fired if a mesh was modified in shape, position etc. So all viewers can redraw it.

This even gets fired if new meshes were added or existing got removed or meshes got moved between groups.

This event gets fired when one of the groups changes the selected property.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations Properties Events