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 2025 Released

Thank you Fernando!!!!!!!!!!!!!!!!!!!!!!!!!!! hwol[…]

I've noticed that "export all" creates l[…]

hmmm can you elaborate a bit about the the use of […]

render engines and Maxwell

Funny, I think, that when I check CG sites they ar[…]