X°: Y°: Z°:   X: Y:   D:    Vertices:  Normals:  Indices:  Colors:

         
Refine1: Refine2: °: Iterations:  Sharpen:
Show: Normals:  Grid:  Axis:  Bounding Box:  Refinements:
Grid x: y: z:  (All: )
Misc. Workers:  Isosurface:
DLP DLP Resolution:  :   
Projected X Length (mm):
Camera
Bounding Box Min: x: y: z:  (All: )
Max: x: y: z:  (All: )
calculate

LineOverlay:   Outlines:
Polygonise on Load:   Zoom&Centre:
Name Definition Parameters
CSG.cylinderYCSG.cylinderY({center:[0,0,0], R:5}) R2-(x-x0)2-(y-y0)2
  • center - center array
  • R - cylinder radius
  • CSG.blockCSG.block({vertex:[0,0,0], dx:4,dy:4,dz:4},{color:[0,1,0]}) x:[vertex[1], vertex[1]+dx], ...
  • vertex - block vertex coordinates array
  • dx,dy,dz - edge lengths along x,y,z
  • CSG.sphereCSG.sphere({center:[3,3,3], radius:2}, {color:[1,0,0]}) R2-(x-x0)2-(y-y0)2-(z-z0)2
  • center - sphere center array
  • R - sphere radius
  • CSG.torus[X|Y|Z]CSG.torusX({center:[0,0,0], R:2, r0:3}) Torus with X, Y or Z-axis
  • center - center array
  • R - radius of revolution
  • r0 - disk radius
  • CSG.ellipticCylinderX
    CSG.ellipticCylinderY
    CSG.ellipticCylinderZCSG.ellipticCylinderZ({center:[0,0,0], a:1,b:2}, {color:[0.9,0.5,0.9]})
    1-((y-y0)/a)2-((z-z0)/b)2
    1-((x-x0)/a)2-((z-z0)/b)2
    1-((x-x0)/a)2-((y-y0)/b)2
  • center - center array
  • a,b - elliptic half-axes along y,z or x,z or x,y
  • CSG.ellipsoidCSG.ellipsoid({center:[0,0,0], a:1,b:2,c:3}, {color:[1,1,0.8]}) 1-((x-x0)/a)2-((y-y0)/b)2-((z-z0)/c)2
  • center - center array
  • a,b,c - ellipsoid half-axes along x,y,z
  • CSG.cylinderX
    CSG.cylinderY
    CSG.cylinderZCSG.cylinderX({center:[0,0,0], R:3}, {color:[1,1,0.8]})
    R2-(y-y0)2-(z-z0)2
    R2-(x-x0)2-(z-z0)2
    R2-(x-x0)2-(y-y0)2
  • center - center array
  • R - cylinder radius
  • CSG.coneX
    CSG.coneY
    CSG.coneZCSG.coneY({center:[0,0,0], R:3}, {color:[1,1,0.8]})
    (x-x0)2-((y-y0)/R)2-((z-z0)/R)2
    (y-y0)2-((x-x0)/R)2-((z-z0)/R)2
    (z-z0)2-((x-x0)/R)2-((y-y0)/R)2
  • center - center array
  • R - radius at height 1
  • CSG.catenoidCSG.catenoid({center:[0,0,0]}, {color:[0.8,1,1]}) x2 + y2 - cosh( z )2
  • center - center array
  • CSG.helicoidCSG.helicoid({center:[0,0,0]}, {color:[1,0.5,1]}) cos( z ) y - x sin( z )
  • center - center array
  • CSG.orthocircles
    CSG.orthocircles({center:[0,0,0], ff:0.075, bb:3}, {color:[1,0.5,1]})
    from xahlee.org/surface/orthocircles
  • center - center array
  • ff
  • bb
  • CSG.blobbyballCSG.blobbyball({bc:[[-7.0, -7, -7],[-6.0,-4,-6],[-4.0, -7, -4],[-2.0, -4, -2],[0, -2, 0],[7, 1,4]],a:[0.7, 1, 1, 0.3, 1, 1],b:[3, 1, 1, 1, 1, 0.5],T:0.05}) Sum b*exp(-a*r2)-T
  • bc - arrays of blob centers [[x,y,z],...]
  • a - array of a coefficients
  • b - array of b coefficients
  • T - threshold value
  • CSG.convLine
    Cauchy Line with Convolution SurfaceCSG.convLine({T:0.5, S:[0.65, 0.65, 1], begin:[[-8.0, 0.0, 0.0],[0.0, -8.0, 0.0],[0.0, 0.0, -8.0]],end:[[8.0, 0.0, 0.0],[0.0, 8.0, 0.0],[0.0, 0.0, 8.0]]})
    1 / (1 + S2*R2)2
    R is the distance between primitive and x
  • T - threshold value
  • S - control value for width of the kernel
  • end - ending points coordinate array [[x,y,z],...]
  • begin - beginning points coordinate array [[x,y,z],...]
  • CSG.convArc
    Cauchy Arc with Convolution Surface
    (By: Ken Yoshikawa)CSG.convArc({centers:[[0.0, 0.0, 0.0],[0.0, 0.0, 0.0],[0.0, 0.0, 0.0]],radius:[8.5, 8.5, 8.5],theta:[360.0, 360.0, 360.0],rotate_axes:[[0.0, 0.0, 1.0],[0.0, 1.0, 0.0],[1.0, 0.0, 0.0]],rotate_angles:[0.0, 90.0, 90.0],S:[0.65, 0.65, 0.65],T:0.22})
    1 / (1 + S2*R2)2
    R is the distance between primitive and x
  • T - threshold value
  • S - control value for width of the kernel
  • rotate_angles - rotate angle
  • rotate_axes - rotate axis [[x,y,z],...]
  • theta - arc angle
  • radius - arc radius
  • centers - center of arc [[x,y,z],...]