Everything related to Studio.
By d76
#380728
Hello
here are the results of simple script, both directly rendered and opened in studio. in both 2.7 and 3.0 instance in Studio is transformed differently than expected, see screenshots. Also when scene is saved from Studio, the bad transformation will occur in render as well..

2.7
Image
Image

3.0
Image
Image
Code: Select all
#!/Library/Frameworks/Python.framework/Versions/3.2/bin/python3
# -*- coding: utf-8 -*-

from pymaxwell import *

scene = Cmaxwell(mwcallback)
scene.readMXS("Cube.mxs")
c = scene.getObject("Cube")

o = scene.createInstancement("Cube2", c)
b, p = c.getBaseAndPivot()
b.xAxis = Cvector(b.xAxis.x() * -1.0, b.xAxis.y(), b.xAxis.z())
b.origin = Cvector(b.origin.x() , b.origin.y() + 2, b.origin.z())
o.setBaseAndPivot(b, p)

scene.writeMXS("Cube2.mxs")
Sketchup 2024 Released

Any idea of when the Maxwell Sketchup plugin will […]

Will there be a Maxwell Render 6 ?

Let's be realistic. What's left of NL is only milk[…]