|
__init__(self)
|
|
readFile0(self,
filename)
opens a brp(boundary representations) file, returns the data
|
|
indexedFromFile0(self,
brp)
Reads data from .brp(boundary representations) file , returns an
array of vertices and a list of faces.
|
|
readBrepFile(self,
filename)
opens a brp file, returns the data
|
|
writeBspt(self,
bspt_set,
filename,
ascii=0)
writes a Bspt in a file
|
|
readBspt(self,
filename)
reads a Bspt from a file
|
|
buildBrepSet0(self,
points,
indeces,
solid=1)
|
|
buildBrepSet(self,
points,
indeces,
normals=None,
solid=1)
create Brep set
|
|
Brep_To_Bspt(self,
brep_set,
expense=0.5,
exponent=None)
create a Set object of BSPT_SET type from Brep_Set
|
|
buildBsptSet(self,
points,
indeces,
normals=None,
expense=0.5,
solid=1)
create a Set object of BSPT_SET type
|
|
operateBsptSets(self,
set1,
set2,
operation,
expense=0.5,
copy="duplicate")
operates with two sets of BSPT_SET type.
|
|
convert_to_Brep(self,
set,
expense=0.5,
duplicate=0)
Converts Bsp tree set to Brep set (boundary representation)
|
|
discardSet(self,
set)
|
|
getBoundaries(self,
set,
has_vnormals=0,
has_fnormals=0)
returns arrays of vertices, faces, normals
|
|
indexedFromArr_old(self,
verts,
faces,
vnorms=None,
fnorms=None)
returns indexed arrays of vertices, faces, normals .
|
|
indexedFromArr(self,
verts,
faces,
vnorms=None,
fnorms=None)
returns indexed arrays of vertices, faces, normals .
|