Functions and macros available in v3.5
olivier at linuxgraphic.org
olivier at linuxgraphic.org
Fri Nov 14 11:04:23 CET 2003
Hi all,
Any chance we'll see a day these fine macros found in shapes.inc directly
incorporated and seen in wireframe in the 3d views of kpm? While inserting the
appropriate primitive, what would be cool could be to pick which primitive-
variant is choosen (even throug a button in the object properties view or by
a "cascading" icon in the toolbars). Many of these shapes are really so cool
for CSG operations in order to construct complex and realistic shapes (mainly
because of the round edges or the connecting spheres) and I'm reluctant to use
them blindy (without visualisation on screen) for any modelling operations :o(
Box:
Wire_Box_Union(PtA, PtB, Radius), Wire_Box_Merge(PtA, PtB, Radius), Wire_Box
(PtA, PtB, Radius, UseMerge
Round_Box_Union(PtA, PtB, EdgeRadius), Round_Box_Merge(PtA, PtB, EdgeRadius),
Round_Box(PtA, PtB, EdgeRadius, UseMerge)
Cone:
Supercone(EndA, A, B, EndB, C, D)
Connect_Spheres(PtA, RadiusA, PtB, RadiusB)
Round_Cone_Union(PtA, RadiusA, PtB, RadiusB, EdgeRadius), Round_Cone_Merge(PtA,
RadiusA, PtB, RadiusB, EdgeRadius), Round_Cone(PtA, RadiusA, PtB, RadiusB,
EdgeRadius, UseMerge)
Round_Cone2_Union(PtA, RadiusA, PtB, RadiusB), Round_Cone2_Merge(PtA, RadiusA,
PtB, RadiusB), Round_Cone2(PtA, RadiusA, PtB, RadiusB, UseMerge)
Round_Cone3_Union(PtA, RadiusA, PtB, RadiusB), Round_Cone3_Merge(PtA, RadiusA,
PtB, RadiusB), Round_Cone3(PtA, RadiusA, PtB, RadiusB, UseMerge)
Cylinder:
Round_Cylinder_Union(PtA, PtB, Radius, EdgeRadius), Round_Cylinder_Merge(PtA,
PtB, Radius, EdgeRadius), Round_Cylinder(PtA, PtB, Radius, EdgeRadius,
UseMerge)
HF_Cylinder(FunctionName, PtA, PtB, Radius, Depth, Res, Smooth, FileName)
Sphere:
Spheroid(Center, Radius)
Torus:
Supertorus(MajorRadius, MinorRadius, MajorControl, MinorControl, Accuracy,
MaxGradient).
They are also a lot of functions in functions.inc usable for isosurfaces. I
know that this feature is currently being implemented and it could be cool to
also have the possibility to pick among these predefined functions (could we
also have a little preview of these functions like we have preview of
materials/textures?) or even to add custom functions in the list.
What do you think of all of this? Is it easy to do? Is it like adding objects
or is it more complicated?
Cheers,
OlivS
More information about the kpovmodeler-devel
mailing list