@huukhanhnguyen/model / nodeMethods/section
nodeMethods/section
clipFaces()
clipFaces(
faces,plane):ObjectData[]
Parameters
faces
plane
normal
point
Returns
sectionCut()
sectionCut(
faces,plane):Point[][]
Parameters
faces
plane
normal
point
Returns
Point[][]
sectionCutWithPatterns()
sectionCutWithPatterns(
faces,plane,materials?): {hatches:HatchData[];loops:Point[][]; }
sectionCut + optional cutPattern stamp. Without materials/cutPattern the returned hatches is empty and loops match bare sectionCut (regression).
Parameters
faces
plane
normal
point
materials?
Material[]
Returns
{ hatches: HatchData[]; loops: Point[][]; }
hatches
hatches:
HatchData[]
loops
loops:
Point[][]
sectionPlane()
sectionPlane(
point,normal,size?):SectionData
Parameters
point
normal
size?
number = 50
Returns
stampCutPatternHatches()
stampCutPatternHatches(
loops,material):HatchData[]
Parameters
loops
Point[][]
material
Material | null | undefined