Public Member Functions | |
def | addFaces (self, faces, color=(0.9, 0.9, 0.9, 1.0)) |
def | addLabels (self) |
def | addObjects (self, objs) |
def | addShapes (self, shapes, color=(0.9, 0.9, 0.9, 1.0)) |
def | buildDummy (self) |
def | compare (self, face1, face2) |
def | cut (self, cutplane, hidden=False) |
def | findPosition (self, f1, faces) |
def | flattenFace (self, face) |
def | getFill (self, fill) |
def | getHiddenSVG (self, linewidth=0.02) |
def | getPathData (self, w) |
def | getSectionSVG (self, linewidth=0.02, fillpattern=None) |
def | getViewSVG (self, linewidth=0.01) |
def | info (self) |
def | isInside (self, vert, face) |
def | isVisible (self, face) |
def | join (self, otype) |
def | projectEdge (self, edge) |
def | projectFace (self, face) |
def | removeHidden (self) |
def | reorient (self) |
def | reset (self) |
def | resetFlags (self) |
def | setWorkingPlane (self, wp) |
def | sort (self) |
def | zOverlaps (self, face1, face2) |
Public Attributes | |
faces | |
hiddenEdges | |
iscut | |
joined | |
objects | |
oriented | |
sections | |
shapes | |
sorted | |
trimmed | |
wp | |
def ArchVRM.Renderer.addFaces | ( | self, | |
faces, | |||
color = (0.9,0.9,0.9,1.0) |
|||
) |
def ArchVRM.Renderer.addLabels | ( | self | ) |
References ArchVRM.Renderer.faces, and draftguitools.gui_offset.Offset.faces.
def ArchVRM.Renderer.addObjects | ( | self, | |
objs | |||
) |
References ArchVRM.Renderer.faces, draftguitools.gui_offset.Offset.faces, App::MergeDocuments.objects, Gui::MergeDocuments.objects, ArchNesting.Nester.objects, ArchVRM.Renderer.objects, exportIFCHelper.ContextCreator.objects, importIFCHelper.ProjectImporter.objects, ArchVRM.Renderer.resetFlags(), PartGui::Ui_Mirroring.shapes, ArchNesting.Nester.shapes, ArchPanel.NestTaskPanel.shapes, ArchVRM.Renderer.shapes, MeshPartGui::Mesh2ShapeGmsh::Private.shapes, and PathScripts.PathDressupDogbone.ObjectDressup.shapes.
def ArchVRM.Renderer.addShapes | ( | self, | |
shapes, | |||
color = (0.9,0.9,0.9,1.0) |
|||
) |
References ArchVRM.Renderer.faces, draftguitools.gui_offset.Offset.faces, ArchVRM.Renderer.resetFlags(), PartGui::Ui_Mirroring.shapes, ArchNesting.Nester.shapes, ArchPanel.NestTaskPanel.shapes, ArchVRM.Renderer.shapes, MeshPartGui::Mesh2ShapeGmsh::Private.shapes, and PathScripts.PathDressupDogbone.ObjectDressup.shapes.
def ArchVRM.Renderer.buildDummy | ( | self | ) |
References ArchVRM.Renderer.faces, draftguitools.gui_offset.Offset.faces, ArchVRM.Renderer.flattenFace(), Py::List.sort(), ArchVRM.Renderer.sort(), ifc4.ifcclassificationreference.sort, and ArchVRM.Renderer.sorted.
def ArchVRM.Renderer.compare | ( | self, | |
face1, | |||
face2 | |||
) |
References DraftVecUtils.isNull(), DraftVecUtils.project(), and ArchVRM.Renderer.zOverlaps().
Referenced by ArchVRM.Renderer.findPosition(), and ArchVRM.Renderer.sort().
def ArchVRM.Renderer.cut | ( | self, | |
cutplane, | |||
hidden = False |
|||
) |
References ArchVRM.Renderer.faces, draftguitools.gui_offset.Offset.faces, ArchCommands.getCutVolume(), ArchVRM.Renderer.hiddenEdges, ArchVRM.Renderer.iscut, ArchVRM.Renderer.joined, ArchVRM.Renderer.oriented, ArchVRM.Renderer.sections, femsolver.elmer.sifio.Sif.sections, PartGui::Ui_Mirroring.shapes, ArchNesting.Nester.shapes, ArchPanel.NestTaskPanel.shapes, ArchVRM.Renderer.shapes, MeshPartGui::Mesh2ShapeGmsh::Private.shapes, PathScripts.PathDressupDogbone.ObjectDressup.shapes, ArchVRM.Renderer.sorted, and ArchVRM.Renderer.trimmed.
def ArchVRM.Renderer.findPosition | ( | self, | |
f1, | |||
faces | |||
) |
References Py::PythonExtensionBase.compare(), ArchVRM.Renderer.compare(), ArchVRM.Renderer.faces, and draftguitools.gui_offset.Offset.faces.
Referenced by ArchVRM.Renderer.sort().
def ArchVRM.Renderer.flattenFace | ( | self, | |
face | |||
) |
Referenced by ArchVRM.Renderer.buildDummy(), and ArchVRM.Renderer.zOverlaps().
def ArchVRM.Renderer.getFill | ( | self, | |
fill | |||
) |
Referenced by ArchVRM.Renderer.getViewSVG(), and ArchVRM.Renderer.info().
def ArchVRM.Renderer.getHiddenSVG | ( | self, | |
linewidth = 0.02 |
|||
) |
def ArchVRM.Renderer.getPathData | ( | self, | |
w | |||
) |
References DraftVecUtils.precision().
Referenced by ArchVRM.Renderer.getHiddenSVG(), ArchVRM.Renderer.getSectionSVG(), and ArchVRM.Renderer.getViewSVG().
def ArchVRM.Renderer.getSectionSVG | ( | self, | |
linewidth = 0.02 , |
|||
fillpattern = None |
|||
) |
def ArchVRM.Renderer.getViewSVG | ( | self, | |
linewidth = 0.01 |
|||
) |
def ArchVRM.Renderer.info | ( | self | ) |
References ArchVRM.Renderer.faces, draftguitools.gui_offset.Offset.faces, ArchVRM.Renderer.getFill(), ArchVRM.Renderer.oriented, ArchVRM.Renderer.sorted, and ArchVRM.Renderer.trimmed.
Referenced by draftguitools.gui_dimensions.Dimension.action(), PathScripts.PathProperty.Property.setupProperty(), and PathScripts.PathSetupSheetOpPrototype.Property.setupProperty().
def ArchVRM.Renderer.isInside | ( | self, | |
vert, | |||
face | |||
) |
References ArchVRM.Renderer.wp.
Referenced by ArchVRM.Renderer.zOverlaps().
def ArchVRM.Renderer.isVisible | ( | self, | |
face | |||
) |
References ArchVRM.Renderer.wp.
Referenced by ArchVRM.Renderer.removeHidden().
def ArchVRM.Renderer.join | ( | self, | |
otype | |||
) |
Referenced by draftobjects.clone.Clone.execute().
def ArchVRM.Renderer.projectEdge | ( | self, | |
edge | |||
) |
References ArchVRM.Renderer.wp.
Referenced by ArchVRM.Renderer.reorient().
def ArchVRM.Renderer.projectFace | ( | self, | |
face | |||
) |
References ArchCommands.makeFace(), and ArchVRM.Renderer.wp.
Referenced by ArchVRM.Renderer.reorient().
def ArchVRM.Renderer.removeHidden | ( | self | ) |
References ArchVRM.Renderer.faces, draftguitools.gui_offset.Offset.faces, SketcherGui::EditModeInformationOverlayCoinConverter.isVisible(), Gui::SoBoxSelectionRenderAction.isVisible(), Gui::ViewProvider.isVisible(), Gui::LinkInfo.isVisible(), TechDrawGui::QGIView.isVisible(), Gui::PreferencePackManager.isVisible(), Gui::SoFCColorBar.isVisible(), Gui::SoFCColorGradient.isVisible(), Gui::SoFCColorBarBase.isVisible(), Gui::SoFCColorLegend.isVisible(), DocumentObject.ViewProvider.isVisible(), ArchVRM.Renderer.isVisible(), and ArchVRM.Renderer.trimmed.
Referenced by ArchVRM.Renderer.sort().
def ArchVRM.Renderer.reorient | ( | self | ) |
References ArchVRM.Renderer.faces, draftguitools.gui_offset.Offset.faces, ArchVRM.Renderer.hiddenEdges, ArchVRM.Renderer.oriented, TechDraw::DrawViewPart.projectEdge(), ArchVRM.Renderer.projectEdge(), TechDraw::GeometryObject.projectFace(), ArchVRM.Renderer.projectFace(), ArchVRM.Renderer.sections, and femsolver.elmer.sifio.Sif.sections.
Referenced by ArchVRM.Renderer.getHiddenSVG(), ArchVRM.Renderer.getSectionSVG(), and ArchVRM.Renderer.sort().
def ArchVRM.Renderer.reset | ( | self | ) |
Referenced by draftguitools.gui_trackers.gridTracker.set().
def ArchVRM.Renderer.resetFlags | ( | self | ) |
Referenced by ArchVRM.Renderer.addFaces(), ArchVRM.Renderer.addObjects(), and ArchVRM.Renderer.addShapes().
def ArchVRM.Renderer.setWorkingPlane | ( | self, | |
wp | |||
) |
References ArchVRM.Renderer.wp.
Referenced by ArchBuildingPart.ViewProviderBuildingPart.activate(), and ArchBuildingPart.ViewProviderBuildingPart.setupContextMenu().
def ArchVRM.Renderer.sort | ( | self | ) |
References Py::PythonExtensionBase.compare(), ArchVRM.Renderer.compare(), ArchVRM.Renderer.faces, draftguitools.gui_offset.Offset.faces, ArchVRM.Renderer.findPosition(), ArchVRM.Renderer.oriented, ArchVRM.Renderer.removeHidden(), ArchVRM.Renderer.reorient(), ArchVRM.Renderer.sorted, and ArchVRM.Renderer.trimmed.
Referenced by ArchVRM.Renderer.buildDummy(), and ArchVRM.Renderer.getViewSVG().
def ArchVRM.Renderer.zOverlaps | ( | self, | |
face1, | |||
face2 | |||
) |
ArchVRM.Renderer.faces |
Referenced by ArchVRM.Renderer.addFaces(), ArchVRM.Renderer.addLabels(), ArchVRM.Renderer.addObjects(), ArchVRM.Renderer.addShapes(), ArchVRM.Renderer.buildDummy(), ArchVRM.Renderer.cut(), ArchVRM.Renderer.findPosition(), ArchVRM.Renderer.getViewSVG(), ArchVRM.Renderer.info(), ArchVRM.Renderer.removeHidden(), ArchVRM.Renderer.reorient(), and ArchVRM.Renderer.sort().
ArchVRM.Renderer.hiddenEdges |
Referenced by ArchVRM.Renderer.cut(), ArchVRM.Renderer.getHiddenSVG(), and ArchVRM.Renderer.reorient().
ArchVRM.Renderer.iscut |
Referenced by ArchVRM.Renderer.cut().
ArchVRM.Renderer.joined |
Referenced by ArchVRM.Renderer.cut().
ArchVRM.Renderer.objects |
ArchVRM.Renderer.oriented |
ArchVRM.Renderer.sections |
ArchVRM.Renderer.shapes |
Referenced by ArchNesting.Nester.addObjects(), ArchVRM.Renderer.addObjects(), ArchVRM.Renderer.addShapes(), ArchNesting.Nester.clear(), ArchVRM.Renderer.cut(), ArchPanel.NestTaskPanel.getContainer(), ArchPanel.NestTaskPanel.getShapes(), PathScripts.PathDressupDogbone.ObjectDressup.insertBone(), ArchPanel.NestTaskPanel.removeShapes(), ArchNesting.Nester.run(), PathScripts.PathDressupDogbone.ObjectDressup.setup(), and ArchPanel.NestTaskPanel.start().
ArchVRM.Renderer.sorted |
ArchVRM.Renderer.trimmed |
Referenced by ArchVRM.Renderer.cut(), ArchVRM.Renderer.info(), ArchVRM.Renderer.removeHidden(), and ArchVRM.Renderer.sort().
ArchVRM.Renderer.wp |