Hello,
even though often requested a torus primitive is not available in realsoft.
so CSG with a torus is not realy possible since no csg torus is available..
BUT through nurbs you can simply create a torus as rotation object and then
use boolean operation on the nurbstorus and the cylinder- how to do that by
rpl/javascript etc.. i have no idea ;-)
regards
Gunnar
----- Original Message -----
From: "Wolfram Schwenzer" <[EMAIL PROTECTED]>
To: "Realsoft Mailing list" <[EMAIL PROTECTED]>
Sent: Thursday, November 08, 2007 2:22 PM
Subject: Torus, CSG & RPL
Hi,
Just trying to realize a macro I did in POVray in Realsoft3D. I simply
want to intersect a Torus with a Cylinder
and cut off the upper and lower surface of the resulting ring to make it
plain.
I looked in vain into the online manual as well as in the old Real 3D User
Manual (for Version 3) searching for
"Torus". All I did find was a hint on p.333 (in the old manual) about
"Create/Build Freeform/Torus" but no
entry in the RPL section (I assume you have to use the "wFT_BSpline"
parameter - but how ?).
In the (new) online-manual I find under "index" only a
contents-description with no alphabetic keywording
at all :(......
I got my POVray Macro up & running in an afternoon, but I fear I'll have
to put much more effort into building
something similar under Realsoft3D though I have elected it just for its
Primitives & CSG features (I hate building
geometric objects with triangles as all info about the underlying
structures is lost in the models ....)
Each & every hint how to get a Torus in Realsoft3D and do CSG with RPL (or
Javascript, if someone knows
that better) would be greatly appreciated.
Wolfram
P.S. If somebody wonders why I don't stay with POVray as a much easier
solution: there is no decent VRML export
for it (I checked every info on the web I could find and no,
Crossroads doesn't give ANY decent results :(...)
& I long for an interactive view of my models (I bought the VRML
plugin for Realsoft3D, but now I can't
model the thingies with it, snif :(....)
P.S. Under Blender they have realized the Torus with a Python-macro, but
Blender uses Triangles only & its CSG is
somewhat lacking ... Is there a macro under Realsoft3D to build a
torus ?