For educational purposes these functions are just great.

The texture unfortunatly gets scaled when the box height is altered. Is there a way to avoid that or can somebody help with a workaround?
Regards
Kurt
Textures on a dynamic component
10 posts
• Page 1 of 1
Textures on a dynamic componentI created a dynamic component, which calculates the volume of a "paper" box. The size of the unfolded piece of paper is set to 24 by 16 cm. Depending on the height of the box (that can be choosen in the dialogbox), you get a different volume.
For educational purposes these functions are just great. ![]() The texture unfortunatly gets scaled when the box height is altered. Is there a way to avoid that or can somebody help with a workaround? Regards Kurt Please, register (free) to access all the attachments on the forums.
Re: Textures on a dynamic componentI've run into the same issue and I don't believe there's a good fix for this. When you scale an object, the texture scales too and that's all there is to it. If your end goal is rendering some rendering software may be able to help you out, but nothing within SU itself.
I'd like to see some sort of plugin fix for this perhaps that could go into all groups and reapply the materials to fix the stretching but I don't know of such a plugin -Brodie Hardware: Intel i7 980x 3.33 Ghz 6-Core Processor
nVidia Quadro FX 3700 512Mb, 18.0 G RAM Software: Maxwell 2.5, SketchUp 8, 3ds Max 2011, Vray, Adobe CS5, AutoCAD 2007, Windows 7 64-bit
Re: Textures on a dynamic componentHi Brodie
No, that's not my goal. The texture may help the students to understand, how wide, long and deep the box is. Each square is (should be) a square centimeter. Regards Kurt
Re: Textures on a dynamic componentIn that case you may be able to accomplish your goal with geometry rather than textures. Instead of a 1cm x 1cm texture maybe you could use 1cm x 1cm components. You could fix their scale in the DC options to 1cm x 1cm and then have add a COPY option to the component so that when you scale the overall object to, say, 50cm long, it creates 50 of those 1cm components. The only drawback would be that you'd have to limit the scaling options to 1cm increments. Does that make sense?
-Brodie Hardware: Intel i7 980x 3.33 Ghz 6-Core Processor
nVidia Quadro FX 3700 512Mb, 18.0 G RAM Software: Maxwell 2.5, SketchUp 8, 3ds Max 2011, Vray, Adobe CS5, AutoCAD 2007, Windows 7 64-bit
Re: Textures on a dynamic component
Definitly! But as I am a bloody beginner with DC I have gone the way I could handle. Kurt
Re: Textures on a dynamic componentI'd start by downloading something like a fence DC which copies the fence posts as you scale the fence up. That'll show you how to fix the size of the fence posts and how to determine how far apart the posts are from each other. You should be able to then translate that into what you're doing where the 'fence posts' are 1cmx1cm squares and the number of copies is the total length divided by 1cm minus 1.
So if the total length is 10 cm the equation would be calculated 10/1 - 1 = 9 giving you your 1 original square and 9 copies. -Brodie Hardware: Intel i7 980x 3.33 Ghz 6-Core Processor
nVidia Quadro FX 3700 512Mb, 18.0 G RAM Software: Maxwell 2.5, SketchUp 8, 3ds Max 2011, Vray, Adobe CS5, AutoCAD 2007, Windows 7 64-bit
Re: Textures on a dynamic componentI will try and do my very best.
Re: Textures on a dynamic componentPerhaps something like that :
The 1cm×1cm square don't exit, it's only lines on the box faces, so you can't texture them like a checker. Please, register (free) to access all the attachments on the forums.
Re: Textures on a dynamic componentIt looks good!
It is not a must. I'am fine with your solution. When I choose "LenZ = 1cm" the copies are not shown. I will figure it out when i going to spend more time to DC. General question: Are DC often used or is that something for Geeks? Regards Kurt
Re: Textures on a dynamic component
Mmmm..... I think is because SU work in inch, and when I ask values in cm, the real value pass to sub object in inch and re-translate in cm. So, when you enter "1" is probably translate and re-translate to "0.99999999" and the integer is "0". I only think of that error I will look for a solution...
DCs are very often used by very few rare geeks
SketchUcation One-Liner AdvertsArtisan Organic Toolset - a set of powerful organic modeling tools.
Premium Members get 20% discount!
10 posts
• Page 1 of 1
|