Skip to content

Commit 075e3ae

Browse files
committed
add group names
1 parent 9e7a801 commit 075e3ae

File tree

5 files changed

+21
-0
lines changed

5 files changed

+21
-0
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Added
1111

12+
* Added `vertexgroup`, `edgegroup`, `facegroup` to `RhinoPatternObject`.
13+
* Added `vertexgroup`, `edgegroup`, `facegroup` to `RhinoFormObject`.
14+
* Added `vertexgroup`, `edgegroup`, `facegroup` to `RhinoForceObject`.
15+
* Added `vertexgroup`, `edgegroup`, `facegroup` to `RhinoThrustObject`.
16+
1217
### Changed
1318

1419
### Removed

src/compas_rv/scene/forceobject.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ class RhinoForceObject(RhinoDiagramObject):
1515
edgecolor = ColorDictAttribute(default=Color.blue().darkened(50))
1616
facecolor = ColorDictAttribute(default=Color.blue().lightened(25))
1717

18+
vertexgroup = "RV::ForceDiagram::Vertices"
19+
edgegroup = "RV::ForceDiagram::Edges"
20+
facegroup = "RV::ForceDiagram::Faces"
21+
1822
# =============================================================================
1923
# Properties
2024
# =============================================================================

src/compas_rv/scene/formobject.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ class RhinoFormObject(RhinoDiagramObject):
1414
edgecolor = ColorDictAttribute(default=Color.green().darkened(50))
1515
facecolor = ColorDictAttribute(default=Color.green().lightened(25))
1616

17+
vertexgroup = "RV::FormDiagram::Vertices"
18+
edgegroup = "RV::FormDiagram::Edges"
19+
facegroup = "RV::FormDiagram::Faces"
20+
1721
# =============================================================================
1822
# Properties
1923
# =============================================================================

src/compas_rv/scene/patternobject.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ class RhinoPatternObject(RUIMeshObject):
1515
anchorcolor = ColorAttribute(default=Color.red())
1616
fixedcolor = ColorAttribute(default=Color.blue())
1717

18+
vertexgroup = "RV::Pattern::Vertices"
19+
edgegroup = "RV::Pattern::Edges"
20+
facegroup = "RV::Pattern::Faces"
21+
1822
def __init__(
1923
self,
2024
disjoint=True,

src/compas_rv/scene/thrustobject.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ class RhinoThrustObject(RUIMeshObject):
3030
compressioncolor = ColorAttribute(default=Color.blue())
3131
tensioncolor = ColorAttribute(default=Color.red())
3232

33+
vertexgroup = "RV::ThrustDiagram::Vertices"
34+
edgegroup = "RV::ThrustDiagram::Edges"
35+
facegroup = "RV::ThrustDiagram::Faces"
36+
3337
def __init__(
3438
self,
3539
disjoint=True,

0 commit comments

Comments
 (0)