Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EuroRackPanel ¶
func EuroRackPanel(k obj2.EuroRackParams) (sdf.SDF3, error)
EuroRackPanel returns a 3d eurorack synthesizer module panel (in mm).
func Panel ¶
func Panel(k obj2.PanelParams) (s3 sdf.SDF3, err error)
Panel3D returns a 3d panel with holes on the edges.
Types ¶
type PanelHoleParams ¶
type PanelHoleParams struct { Diameter float64 // hole diameter Thickness float64 // panel thickness Indent r3.Vec // indent size Offset float64 // indent offset from main axis Orientation float64 // orientation of indent, 0 == x-axis }
PanelHoleParms defines the parameters for a panel hole.
type StandoffParams ¶
type StandoffParams struct { PillarHeight float64 PillarDiameter float64 HoleDepth float64 // > 0 is a hole, < 0 is a support stub HoleDiameter float64 NumberWebs int // number of triangular gussets around the standoff base WebHeight float64 WebDiameter float64 WebWidth float64 }
StandoffParams defines the parameters for a board standoff pillar.
Click to show internal directories.
Click to hide internal directories.