| |
- Boost.Python.instance(builtins.object)
-
- ScriptInputHook
- ScriptMetaHooks
- ScriptOutputHook
- ScriptTitleHook
- ScriptUIHooks
class ScriptInputHook(Boost.Python.instance) |
| |
- Method resolution order:
- ScriptInputHook
- Boost.Python.instance
- builtins.object
Methods defined here:
- __call__(...)
- __call__( (ScriptInputHook)arg1, (str)arg2, (object)arg3) -> None :
C++ signature :
void __call__(ScriptInputHook {lvalue},std::string,boost::python::api::object)
__call__( (ScriptInputHook)arg1, (str)arg2, (object)arg3, (object)arg4) -> None :
C++ signature :
void __call__(ScriptInputHook {lvalue},std::string,boost::python::api::object,boost::python::api::object)
- __init__(...)
- __init__( (object)arg1) -> None :
C++ signature :
void __init__(_object*)
- __reduce__ = (...)
Data and other attributes defined here:
- __instance_size__ = 24
Methods inherited from Boost.Python.instance:
- __new__(*args, **kwargs) from Boost.Python.class
- Create and return a new object. See help(type) for accurate signature.
Data descriptors inherited from Boost.Python.instance:
- __dict__
- __weakref__
|
class ScriptMetaHooks(Boost.Python.instance) |
| |
- Method resolution order:
- ScriptMetaHooks
- Boost.Python.instance
- builtins.object
Methods defined here:
- __init__(...)
- __init__( (object)arg1) -> None :
C++ signature :
void __init__(_object*)
- __reduce__ = (...)
- export_heightmap(...)
- object export_heightmap(tuple args, dict kwds) :
export_heightmap(shape, bounds=None, pad=True, filename=None,
resolution=None, mm_per_unit=25.4)
Registers a .stl exporter for the given shape.
Valid kwargs:
bounds is either a fab.types.Bounds object or None.
If it is None, bounds are taken from the shape.
pad sets whether bounds should be padded a small amount
(to prevent edge conditions at the models' edges)
filename sets the filename.
If None, a dialog will open to select a file.
resolution sets the resolution.
If None, a dialog will open to select the resolution.
mm_per_unit maps Antimony to real-world units.
C++ signature :
object export_heightmap(tuple args, dict kwds)
- export_stl(...)
- object export_stl(tuple args, dict kwds) :
export_stl(shape, bounds=None, pad=True, filename=None,
resolution=None, detect_features=False)
Registers a .stl exporter for the given shape.
Valid kwargs:
bounds is either a fab.types.Bounds object or None.
If it is None, bounds are taken from the shape.
pad sets whether bounds should be padded a small amount
(to prevent edge conditions at the models' edges)
filename sets the filename.
If None, a dialog will open to select a file.
resolution sets the resolution.
If None, a dialog will open to select the resolution.
detect_features enables feature detection (experimental)
C++ signature :
object export_stl(tuple args, dict kwds)
Data and other attributes defined here:
- __instance_size__ = 24
Methods inherited from Boost.Python.instance:
- __new__(*args, **kwargs) from Boost.Python.class
- Create and return a new object. See help(type) for accurate signature.
Data descriptors inherited from Boost.Python.instance:
- __dict__
- __weakref__
|
class ScriptUIHooks(Boost.Python.instance) |
| |
- Method resolution order:
- ScriptUIHooks
- Boost.Python.instance
- builtins.object
Methods defined here:
- __init__(...)
- __init__( (object)arg1) -> None :
C++ signature :
void __init__(_object*)
- __reduce__ = (...)
- point(...)
- object point(tuple args, dict kwds) :
point(x, y, z, r=5, color=(150, 150, 255), drag=None)
Constructs a point in the 3D viewport
x, y, z are the point's position
Valid kwargs:
r sets the point's radius
color sets the color as a 3-tuple (0-255)
drag is an optional callback:
It is invoked as drag(this, x, y, z)
where this is a representation of the parent
object and x, y, z are the position to which
the point has been dragged.
C++ signature :
object point(tuple args, dict kwds)
- wireframe(...)
- object wireframe(tuple args, dict kwds) :
wireframe(pts, t=3, color=(150, 150, 255), close=false)
Constructs a wireframe in the 3D viewport
pts is a list of 3-float tuples
Valid kwargs:
t sets the line's thickness
color sets the color as a 3-tuple (0-255)
close makes the loop closed
C++ signature :
object wireframe(tuple args, dict kwds)
Data and other attributes defined here:
- __instance_size__ = 40
Methods inherited from Boost.Python.instance:
- __new__(*args, **kwargs) from Boost.Python.class
- Create and return a new object. See help(type) for accurate signature.
Data descriptors inherited from Boost.Python.instance:
- __dict__
- __weakref__
| |