Comsole2: Move to Box group in the UI
This commit is contained in:
parent
27264f8c08
commit
6091cf955f
|
@ -1496,6 +1496,16 @@ class Boxes:
|
|||
|
||||
@restore
|
||||
def fingerHoleRectangle(self, dx, dy, x=0., y=0., angle=0., outside=False):
|
||||
"""
|
||||
Place finger holes for four walls - attaching a box on this plane
|
||||
|
||||
:param dx: size in x direction
|
||||
:param dy: size in y direction
|
||||
:param x: x position of the center
|
||||
:param y: y position of the center
|
||||
:param angle: angle in which the rectangle is placed
|
||||
:param outside: meassure size from the outside of the walls - not the inside
|
||||
"""
|
||||
self.moveTo(x, y, angle)
|
||||
d = 0.5*self.thickness
|
||||
if outside:
|
||||
|
|
|
@ -19,7 +19,7 @@ from boxes import *
|
|||
class Console2(Boxes):
|
||||
"""Console with slanted panel and service hatches"""
|
||||
|
||||
ui_group = "Unstable" #"Box"
|
||||
ui_group = "Box"
|
||||
|
||||
description = """
|
||||
This box is designed as a housing for electronic projects. It has hatches that can be re-opened with simple tools. It intentionally cannot be opened with bare hands - if build with thin enough material.
|
||||
|
|
Loading…
Reference in New Issue