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 | |
Member Function Documentation
◆ addFaces()
def ArchVRM.Renderer.addFaces | ( | self, | |
faces, | |||
color = (0.9,0.9,0.9,1.0) |
|||
) |
References ArchVRM.Renderer.faces, and ArchVRM.Renderer.resetFlags().
◆ addLabels()
def ArchVRM.Renderer.addLabels | ( | self | ) |
References ArchVRM.Renderer.faces.
◆ addObjects()
def ArchVRM.Renderer.addObjects | ( | self, | |
objs | |||
) |
References ArchVRM.Renderer.faces, Gui::MergeDocuments.objects, App::MergeDocuments.objects, ArchNesting.Nester.objects, ArchVRM.Renderer.objects, ArchVRM.Renderer.resetFlags(), ArchNesting.Nester.shapes, ArchVRM.Renderer.shapes, and ArchPanel.NestTaskPanel.shapes.
◆ addShapes()
def ArchVRM.Renderer.addShapes | ( | self, | |
shapes, | |||
color = (0.9,0.9,0.9,1.0) |
|||
) |
◆ buildDummy()
def ArchVRM.Renderer.buildDummy | ( | self | ) |
References ArchVRM.Renderer.faces, ArchVRM.Renderer.flattenFace(), ArchVRM.Renderer.sort(), Py::List.sort(), ifc4.ifcclassificationreference.sort, and ArchVRM.Renderer.sorted.
◆ compare()
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().
◆ cut()
def ArchVRM.Renderer.cut | ( | self, | |
cutplane, | |||
hidden = False |
|||
) |
References ArchVRM.Renderer.faces, ArchCommands.getCutVolume(), ArchVRM.Renderer.hiddenEdges, ArchVRM.Renderer.iscut, ArchVRM.Renderer.joined, ArchVRM.Renderer.oriented, ArchVRM.Renderer.sections, ArchNesting.Nester.shapes, ArchVRM.Renderer.shapes, ArchPanel.NestTaskPanel.shapes, ArchVRM.Renderer.sorted, and ArchVRM.Renderer.trimmed.
◆ findPosition()
def ArchVRM.Renderer.findPosition | ( | self, | |
f1, | |||
faces | |||
) |
References Py::PythonExtensionBase.compare(), ArchVRM.Renderer.compare(), and ArchVRM.Renderer.faces.
Referenced by ArchVRM.Renderer.sort().
◆ flattenFace()
def ArchVRM.Renderer.flattenFace | ( | self, | |
face | |||
) |
Referenced by ArchVRM.Renderer.buildDummy(), and ArchVRM.Renderer.zOverlaps().
◆ getFill()
def ArchVRM.Renderer.getFill | ( | self, | |
fill | |||
) |
Referenced by ArchVRM.Renderer.getViewSVG(), and ArchVRM.Renderer.info().
◆ getHiddenSVG()
def ArchVRM.Renderer.getHiddenSVG | ( | self, | |
linewidth = 0.02 |
|||
) |
◆ getPathData()
def ArchVRM.Renderer.getPathData | ( | self, | |
w | |||
) |
References DraftVecUtils.precision().
Referenced by ArchVRM.Renderer.getHiddenSVG(), ArchVRM.Renderer.getSectionSVG(), and ArchVRM.Renderer.getViewSVG().
◆ getSectionSVG()
def ArchVRM.Renderer.getSectionSVG | ( | self, | |
linewidth = 0.02 , |
|||
fillpattern = None |
|||
) |
◆ getViewSVG()
def ArchVRM.Renderer.getViewSVG | ( | self, | |
linewidth = 0.01 |
|||
) |
References ArchVRM.Renderer.faces, ArchVRM.Renderer.getFill(), ArchVRM.Renderer.getPathData(), ArchVRM.Renderer.sort(), Py::List.sort(), ifc4.ifcclassificationreference.sort, and ArchVRM.Renderer.sorted.
◆ info()
def ArchVRM.Renderer.info | ( | self | ) |
◆ isInside()
def ArchVRM.Renderer.isInside | ( | self, | |
vert, | |||
face | |||
) |
References ArchVRM.Renderer.wp.
Referenced by ArchVRM.Renderer.zOverlaps().
◆ isVisible()
def ArchVRM.Renderer.isVisible | ( | self, | |
face | |||
) |
References ArchVRM.Renderer.wp.
Referenced by ArchVRM.Renderer.removeHidden().
◆ join()
def ArchVRM.Renderer.join | ( | self, | |
otype | |||
) |
Referenced by draftobjects.clone.Clone.execute().
◆ projectEdge()
def ArchVRM.Renderer.projectEdge | ( | self, | |
edge | |||
) |
References ArchVRM.Renderer.wp.
Referenced by ArchVRM.Renderer.reorient().
◆ projectFace()
def ArchVRM.Renderer.projectFace | ( | self, | |
face | |||
) |
References ArchCommands.makeFace(), and ArchVRM.Renderer.wp.
Referenced by ArchVRM.Renderer.reorient().
◆ removeHidden()
def ArchVRM.Renderer.removeHidden | ( | self | ) |
References ArchVRM.Renderer.faces, Gui::SoFCColorGradient.isVisible(), Gui::SoFCColorLegend.isVisible(), Gui::ViewProviderPy.isVisible(), Gui::SoFCColorBarBase.isVisible(), ArchVRM.Renderer.isVisible(), Gui::SoFCColorBar.isVisible(), Gui::LinkInfo.isVisible(), Gui::SoBoxSelectionRenderAction.isVisible(), Gui::ViewProvider.isVisible(), and ArchVRM.Renderer.trimmed.
Referenced by ArchVRM.Renderer.sort().
◆ reorient()
def ArchVRM.Renderer.reorient | ( | self | ) |
◆ reset()
def ArchVRM.Renderer.reset | ( | self | ) |
Referenced by draftguitools.gui_trackers.gridTracker.set().
◆ resetFlags()
def ArchVRM.Renderer.resetFlags | ( | self | ) |
Referenced by ArchVRM.Renderer.addFaces(), ArchVRM.Renderer.addObjects(), and ArchVRM.Renderer.addShapes().
◆ setWorkingPlane()
def ArchVRM.Renderer.setWorkingPlane | ( | self, | |
wp | |||
) |
References ArchVRM.Renderer.wp.
◆ sort()
def ArchVRM.Renderer.sort | ( | self | ) |
References Py::PythonExtensionBase.compare(), ArchVRM.Renderer.compare(), ArchVRM.Renderer.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().
◆ zOverlaps()
def ArchVRM.Renderer.zOverlaps | ( | self, | |
face1, | |||
face2 | |||
) |
References ArchVRM.Renderer.flattenFace(), SMESH_OctreeNode.isInside(), Base::BoundBoxPy.isInside(), and ArchVRM.Renderer.isInside().
Referenced by ArchVRM.Renderer.compare().
Member Data Documentation
◆ faces
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().
◆ hiddenEdges
ArchVRM.Renderer.hiddenEdges |
Referenced by ArchVRM.Renderer.cut(), ArchVRM.Renderer.getHiddenSVG(), and ArchVRM.Renderer.reorient().
◆ iscut
ArchVRM.Renderer.iscut |
Referenced by ArchVRM.Renderer.cut().
◆ joined
ArchVRM.Renderer.joined |
Referenced by ArchVRM.Renderer.cut().
◆ objects
ArchVRM.Renderer.objects |
Referenced by ArchVRM.Renderer.addObjects(), and exportIFCHelper.ContextCreator.getProjectObject().
◆ oriented
ArchVRM.Renderer.oriented |
◆ sections
ArchVRM.Renderer.sections |
◆ shapes
ArchVRM.Renderer.shapes |
◆ sorted
ArchVRM.Renderer.sorted |
◆ trimmed
ArchVRM.Renderer.trimmed |
Referenced by ArchVRM.Renderer.cut(), ArchVRM.Renderer.info(), ArchVRM.Renderer.removeHidden(), and ArchVRM.Renderer.sort().
◆ wp
ArchVRM.Renderer.wp |
The documentation for this class was generated from the following file:
- src/Mod/Arch/ArchVRM.py