KeyShot Forum

Technical discussions => Textures => Topic started by: philw on September 27, 2016, 06:34:46 AM

Title: Label around Box with filleted edges
Post by: philw on September 27, 2016, 06:34:46 AM
Hi all - really struggling to find a label technique that works...need to wrap a label around 3 sides of a box with 10mm radius fillets on the edges, but even when tweaking the depth of label, it seems to stop at the radius "start"... (i've attached a screenshot of the Rhino object). I've tried leaving it as Nurbs, OBJ Mesh, all sorts, still the same... :-(

Any ideas? Cheers!
Title: Re: Label around Box with filleted edges
Post by: Chad Holton on September 27, 2016, 07:04:40 AM
Hi Phil,

Does Rhino have UV mapping ability? If so, this would be your best route. If not, I did play around with different mapping options and cylindrical may work depending on your decal. Below is what I ended up with. I played around with the cylinder center and such and got it fairly close.



Title: Re: Label around Box with filleted edges
Post by: philw on September 27, 2016, 07:09:05 AM
Thanks Chad!

I was in a desperate rush so I've ended up with repeats of the label lined up against each other with offsets to create the look of the whole label. Not sure Rhino...will take a look when this is out of the door and try a bit harder with cylindrical. My label is full of text and graphics so any stretching would be very noticible.

Thanks!
Title: Re: Label around Box with filleted edges
Post by: Robb63 on September 27, 2016, 07:14:07 AM
Have you tried applying different UV mapping in the Properties tab in Rhino? Something in there might work for you.
Title: Re: Label around Box with filleted edges
Post by: Finema on September 27, 2016, 07:23:17 AM
Hi
You must unwrap the UV.
https://www.keyshot.com/forum/index.php?topic=12446.msg62576#msg62576

Title: Re: Label around Box with filleted edges
Post by: philw on September 27, 2016, 08:19:24 AM
Sorry guys, I'm completely lost with all that...

Note to self....get cleverer...quickly!

:-)
Title: Re: Label around Box with filleted edges
Post by: philw on September 28, 2016, 02:03:11 AM
Thanks guys for all your help - cracked it this morning with a nicely placed seam in the model and Rhino UV Edit to apply it to the box. UV MApped in Keyshot and all good.

Only downside is that Mac Rhino doesn't do it and I'm running a trial of the Windows version. So i'll have to learn how to do it in Cinema 4D.

Thanks again,

Phil
Title: Re: Label around Box with filleted edges
Post by: Finema on September 28, 2016, 02:30:17 AM
Hi
In C4D, you must use BP UV Edit and export your .OBJ and import it in Keyshot
Title: Re: Label around Box with filleted edges
Post by: philw on September 28, 2016, 03:47:05 AM
Thank you, yes, I'm trying to understand that, but new to C4D :-) so a bit of a learning curve...
Title: Re: Label around Box with filleted edges
Post by: philw on September 29, 2016, 01:57:10 PM
So... almost cracked it in C4D, but a slight issue...

In Rhino, when I unwrapped, created a seam and UV edited, the radius fillets came out perfectly as equal sized rectangles when flattened out. In C4D, they aren't equal, as per looking at a front projection, i.e. the outermost ones get thinner...not sure how to recreate the one I got from Rhino which produces no distortion when the label is on the radius?

Apologies in advance for my noob C4D terminology and vagueness... Many thanks...
Title: Re: Label around Box with filleted edges
Post by: philw on September 30, 2016, 02:26:21 AM
Managed to make it better but not quite sure how...will retrace my steps...

I think I'll be nagging McNeel to include the UV Edit tools in the Mac version of Rhino as it was so simple to do there rather than in C4D/Bodypaint...
Title: Re: Label around Box with filleted edges
Post by: bdesign on September 30, 2016, 02:38:52 AM
Hey Phil-

Perhaps these might help out:

https://jamie3d.com/uv-mapping-series-part-1
https://jamie3d.com/uv-mapping-series-part-2
https://jamie3d.com/uv-mapping-series-part-3
Title: Re: Label around Box with filleted edges
Post by: philw on September 30, 2016, 02:49:02 AM
Thank you!

My old brain takes longer to learn nowadays...

;)
Title: Re: Label around Box with filleted edges
Post by: bdesign on September 30, 2016, 02:54:58 AM
Sure thing, Phil. I use Rhino on Windows, but apparently there is some rather hidden UV mapping functionality, though apparently somewhat limited, via the command line in the mac version...see here:
https://discourse.mcneel.com/t/texture-mapping-in-mac-rhino/4480

Eric
Title: Re: Label around Box with filleted edges
Post by: bdesign on September 30, 2016, 08:34:30 AM
Hey Phil-

The method by which your NURBS geometry is created will have an impact on the inherent UV behavior out of Rhino. Try this:
Run the DupEdge command and select the top and bottom edges of your filleted box, then join the resulting curves into two closed curves. Create a perpendicular polyline between the midpoints on one of the long sides. Run the Sweep 2 Rails command, with the two curves as rails, and the polyline as the cross section. Select "Simple sweep" in the options box. Cap the planar holes with the "_Cap" command. This rebuild method will allow your label to flow around the three sides with its inherent UV mapping. In KeyShot, set the mapping type to "UV Mapping", Angle to 90°, and check "Flip Horizontal". If you are using NURBS Mode in KeyShot, you will instead need to set the angle to 0°, check "Flip Vertical", and scale the label up much larger. Examples attached.

Eric
Title: Re: Label around Box with filleted edges
Post by: Robb63 on September 30, 2016, 10:11:49 AM
BDesign,
That's a great solution! I had forgotten about doing that as work around.
Sometimes the simplest ideas are the best!!  :)
Title: Re: Label around Box with filleted edges
Post by: bdesign on September 30, 2016, 07:04:33 PM
Quote from: Robb63 on September 30, 2016, 10:11:49 AM
BDesign,
That's a great solution! I had forgotten about doing that as work around.
Sometimes the simplest ideas are the best!!  :)
Thanks, Robb :)

Eric
Title: Re: Label around Box with filleted edges
Post by: Finema on September 30, 2016, 10:50:35 PM
Thanks a lot Eric.
I'm work with MoI 3D but the process is the same. I use Seamless command.
Title: Re: Label around Box with filleted edges
Post by: bdesign on October 02, 2016, 05:42:07 PM
Quote from: Finema on September 30, 2016, 10:50:35 PM
Thanks a lot Eric.
I'm work with MoI 3D but the process is the same. I use Seamless command.
You're welcome, Finema.

Eric