Creating an object based on another
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 04/07/2012 at 01:16, xxxxxxxx wrote:
Is it possible to create a new object that has all the characteristics of another one (a primitive object) and just add a few more options that, internally, will only serve to control the parameters that it already has?
Let me present an example:Lets say that I want to create a new type of cube named UbberCube
It would generate a primitive cube but I would like it show just these parameters:Size
Bevel percentageSo, internally, it would generate a cube primitive with a set size and a fillet with the size of the percentage value multiplied by the smallest of the size of any given axis.
So, my question is: Can I create new objects that, internally, use primitive objects (just like Python Generator, but as compilable python plug-ins)?
Rui Batista
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 04/07/2012 at 03:06, xxxxxxxx wrote:
You would have to create an ObjectData plugin and return the modified cube in GetVirtualObjects. In that function you would create a cube primitive, modify its settings as you like, then return the created cube. Your plugin interface would just show whatever parameters you desired.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 04/07/2012 at 06:05, xxxxxxxx wrote:
Thank you very much for the answer, Spedler.
I will see if I can do it (just starting with python)Rui Batista