Module geometrix - v0.5.56

Geometrix

Geometrix is a javascript package for programmatic CAD. It helps to create figures composed of circles, strokes and arcs. Those figures can then be exported as dxf, svg and a couple of other formats. Using Parametrix, those figures can also be displayed in an HTML canvas and simulated in 2D.

Geometrix has also features to round or widen corners of your figures.

git clone https://github.com/charlyoleg2/parametrix
cd parametrix
npm -w geometrix install
npm -w geometrix run ci

Geometrix runtime depends only on @zip.js/zip.js. All other functionalies (geometry, dxf-export, svg-export, canvas-stroke) are relying onlw on the standard Math library.

The directory docs_svg contains diagrams used during the development of geometrix. The website Paramui contains the documentation of geometrix:

Enumerations

EBVolume
EExtrude
EFormat
PSeg
PType
SegEnum
ShapePoint

Classes

Contour
ContourCircle
DesignParam
DxfSeg
DxfWrite
Figure
Line
PaxPath
Point
SegDbg
Segment1
Segment2
Transform3d
Vector

Interfaces

tAffine
tBVolume
tCanvasAdjust
tDesignParamOne
tExtrude
tGeom
tInherit
tLayers
tPackage
tPageDef
tParam
tParamDef
tParamValInFile
tPaxContourCircle
tPaxContourPath
tPaxSegArc
tPaxSegSt
tSimTime
tSubInst
tVolume

Type Aliases

tAllLink
tAllPageDef
tCartesian
tContour
tDependencies
tDesignParamList
tFigures
tGeomFunc
tOuterInner
tParamChanged
tParamVal
tPaxContour
tPaxFace
tPaxSeg
tPolar
tPosiOrien
tSubDesign
tT3dMatrix
tVec3
tVec4

Variables

colors
gSegDbg
tolerance
zeroPDef

Functions

aBFromLaLbAa
aCFromAaAb
aCFromLaLbLc
adjustCenter
adjustCopy
adjustInit
adjustMini
adjustRect
adjustScale
adjustTranslate
adjustZero
arcSeg1To2
arcSeg2To1
bisector
canvas2point
canvasTranslatePolar
checkGeom
checkImpPages
circleCenter
contour
contourCircle
copyLayers
createParamFile
ctrOblong
ctrRectangle
ctrRectRot
ctrRectRot2
ctrTrapezoid
ctrTrapezoidRot2
degToRad
designParam
dxfSegArc
dxfSegCircle
dxfSegLine
dxfWriter
ffix
figure
fileBin
fileBinContent
fileMime
fileSuffix
fileTextContent
fround
initGeom
initLayers
isActiveCorner
isAddPoint
isCorner
isSeg
isWithin
lbFromLaAaAb
lcFromLaLbAc
line
linePP
makeCorner
mergeFaces
midArcPoint
oneDesignParam
orientedArc
paramListToVal
parseParamFile
paxCircle
paxPath
pCheckbox
pDropdown
pNumber
point
point2canvas
pointCoord
pointMinMax
prefixLog
pSectionSeparator
radius2canvas
radToDeg
rightTriLaFromLbLc
rightTriLbFromLaLc
roundZero
transform3d
vector
version_details
withinHPiHPi
withinPiPi
withinZero2Pi
withinZeroPi