here’s my sdk version of meshtocode which i did specifically to create a dockable toolbar #include “pgTools.h” //#include “types.h” #include MAXSCRIP…
plugin simpleObject simplequad name:”quad” classID:#(0x680719e7, 0x127ffe63) category:”Scripted” ( parameters main rollout:params ( width typ…
create 2 triangles side by side and hide the intervening edges and voila a quad.
a_bits = #{1..24} b_bits = #{6..9} c_bits = #{25..128} d_bits = a_bits * b_bits — and bitarrays e_bits = a_bits – b_bits — subtract f_bits = e_bit…
are finding stuff like vert or face indices ? if you are then using bitarrays does this stuff far far faster and effieciently.
mesh.setNumVertCol(4); mesh.setNumVCFaces(2); mesh.setMapVert(0, 0, Point3(0.5f, 0.5f, 0.5f)); mesh.setMapVert(0, 1, Point3(0.5f, 0.5f, 0.5f)); mesh….
then i imagine it probably calls a stack iterator which probably calls ->ModifyObject() for the resume function not sure what it would call on the …
put your own modifier in the stack run it under the debugger or have it print to the listener what messages it receives when you call SuspendEditing/R…
Henjin: is there a way to figure out what triggers the handler? for us not without seeing your code.
seems to be an issue with snapshot conversion to mesh from poly… tmpCylA = Cylinder radius:5 sides:5 height:15 heightsegs:1 pos:[0,0,0] isSelected:on…
it’s to do with how a cylinder is converted to a mesh or a poly… when converting to poly the vert in the center of the cap is removed but when convert…
yeah I still use the old 2010 chm reference as it’s far faster, easier to use, better laid out and convenient than the dreadful online crap AD dish ou…
Interface::InSlaveMode ( )
have a look at listjobs.cpp and jobassign.cpp in the netrender folder of the sdk should have some pointers in there on the howtos…
just save the scene before you start the process, simples autosavedir = ((GetDir #scene) + “/AutoSave”) if not doesfileExist autosavedir then makeDi…