Forum Replies Created
-
AuthorPosts
-
David DuperronCustomer
Haha! I should have listened my parents better I guess…
Anyway: THANK YOU! ;)David DuperronCustomerChanging the camera Object controls using javascript does not seem to have any effect:
const camera = app.scene.getObjectByName('Camera') camera.controls.orbitMaxDistance = 1500; camera.far = 3000; console.log(camera)
using the above code I change the max distance from 500 (original Blender setting) to 1500, and the far distance from 1500 to 3000 but it does not change anything in the 3D viewport…
David DuperronCustomerHi @kdv77kdv!
Thanks again for your expertise… I will try this right after lunch, and I’m pretty sure that once again this will save my day! ;)
CheersDavid
David DuperronCustomerHere is the piece of puzzle:
I would like to make sure that the “addGenericObject” or “addCustomObject” procedures have completed before to move on to the next object in the for loop… Everything looks like the for loop goes “quicker” than the import process, and that cause my procedures to fail (the import seems to import correctly – no “on error” action triggered) but all the stuff that I need to do inside these procedure do not complete.David DuperronCustomerOk! simple as that…
David DuperronCustomerAs usual, thank you very much! this will be useful for sure… ;)
David DuperronCustomerI already have the solution to place the button inside a div, and to generate the div’s “innerhtml” with the correct “onclick” procedure that calls my puzzle-defined procedure… but I thought it might be done from within the puzzles?
- This reply was modified 1 year, 3 months ago by David Duperron.
David DuperronCustomerperfect! Thanks!
David DuperronCustomerHi @yuri,
it would be great to have a solution to this issue. Did you have the opportunity to look into this??
Thanks a lotDavid
David DuperronCustomerAlso need to use you “exec script” puzzle as the original one does not work either (does not see the “clonedObject” variable I guess?). Anyway, thank you so much!
David DuperronCustomer@kdv77kdv
You rule!!
David DuperronCustomerCorrection #2
I also have your “clone object” that I was not using, and which solves this issue! No precise idea of what is done differently, but well… it’s working!
You’re great, thanks again…David DuperronCustomercorrection:
I HAVE this puzzle, as I bought your plugin package and it’s included in it… So now the puzzles work and the object is copied, BUT, the material is cloned and both circles now have the same color (the one which is defined in the exec script puzzle)…
David DuperronCustomerI can’t make your puzzles work! :(
first I don’t have your “rename object” puzzle, and I always get an error message
Uncaught ReferenceError: clonedObject is not defined
Here is my Puzzle configuration for a very simple scene where I have a Circle exported with line rendering option as you mention.
I’m lost… again…David DuperronCustomerbut how do you set-up the original circle object in Blender? no material assigned? No “line rendering” option ticked? If I do so, I don’t see anything in the scene once duplicated…
Sorry for these questions if they seem dumb… -
AuthorPosts