![boole c4d boole c4d](https://developers.maxon.net/docs/Cinema4DPythonSDK/html/_images/Python_generator.jpg)
important:: The returned object axis is located at the world center. :raise TypeError: - If *objects* is not iterable - If an element of *objects* is not a BaseObject :raise Error: When an unexpected error occurs.
![boole c4d boole c4d](https://i.ytimg.com/vi/AlP_NbgLqD8/maxresdefault.jpg)
:raise RuntimeError: If the *Kernel* was not initialized with a document. :requires: - The *Kernel* must be initialized with a document. :param objects: A list of :class:`c4d.BaseObject`. This method will move *all* objects to the internal document temporarily before joining them into one object. def connect_objects ( self, objects ): ''' Joins all PolygonObjects and SplineObjects the list *objects* into a single object using the Cinema 4D "Connect Objects" command.
![boole c4d boole c4d](https://www.cgcreativeshop.com/wp-content/uploads/2015/12/boolean12122015.jpg)
MCOMMAND_CURRENTSTATETOOBJECT, , doc = doc ) if not result : raise Error ( "Current State to Object failed" ) return result _doc root = find_root ( obj ) with UndoHandler () as undo : undo. BaseObject ): raise TypeError ( " must be a BaseObject", type ( obj )) doc = self. _assert_doc ( 'current_state_to_object' ) if not isinstance ( obj, c4d. :raise Error: When an unexpected error occurs. :raise TypeError: If *obj* is not a BaseObject. deformers applied on a hierarchy in a Null-Object). note:: All parent objects of *obj* will be moved with it as it may have influence on the outcome (eg. texture tag material links), the *Kernel* should have been initialized with the objects document. The object will be temporarily moved into the document the *Kernel* was initialized with. def current_state_to_object ( self, obj ): ''' Executes the Cinema 4D "Current State to Object" on *obj* and returns the resulting object. format ( method )) assert isinstance ( self. _doc is None : raise RuntimeError ( "Kernel method '' requires a Cinema 4D document but " "the Kernel was initialized with None". Raises a :class:`RuntimeError` if the *Kernel* was not initialized with a Cinema 4D document. MCOMMAND_OPTIMIZE, , doc = None, bc = bc ) if not result : raise Error ( "Optimize failed" ) def _assert_doc ( self, method ): ''' Private. MDATA_OPTIMIZE_UNUSEDPOINTS, unused_points ) result = c4d. MDATA_OPTIMIZE_TOLERANCE, tolerance ) bc. PolygonObject ): raise TypeError ( " must be a PolygonObject", type ( obj )) bc = c4d. :raise TypeError: If *obj* is not a PolygonObject. The parameters to this method reflect the parameters of the Cinema 4D command. def optimize ( obj, tolerance = 0.01, points = True, polygons = True, unused_points = True ): ''' Optimizes the PolygonObject *obj* using the Cinema 4D "Optimize" command.
#Boole c4d software
IN NO EVENT SHALL THE # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
#Boole c4d free
# -*- coding: utf8 -*- # Copyright (C) 2015 Niklas Rosenstein # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software.