Adding text

What's the best way to add text to the attached image other then cutting it out of the .sldprt?

I'm very new at this and doing ok until I tried to get the text to show. I inserted it as a block in the assembly file but that doesn't show up in PV360.

Any help would be greatly appreciated. I'm running 2010 version of everything.

Thanks.

Mark S

SolidworksPhotoview 360
Answers 16
RR
RR 2010-05-19 Best Answer

Create and apply a decal in SW and it will transfer to PV360.  I'd probably just cut the text into the model unless it's some wird font or something.

SF
SF 2010-05-19

well it's not a common font, can i take all the text as one sketch (my block) and cut that from the model?

SF
SF 2010-05-19

What format is your text in right now (AutoCAD .dwg, Microsoft Word, JPG, PNG)?

RR
RR 2010-05-19

Sure, if its a sketch block.  If you have an image file of the text the faster method is using a decal.  You'll just be limited as to what you can do with it in PV360.

SF
SF 2010-05-19

autocad.dwg

SF
SF 2010-05-20

Insert the block into the part you wish to apply it to, rather than the assembly.

Exit the sketch.

Insert >> Curve >> Split Line

Select Projection, then pick the block and the face you wish to split. Hit OK

This will break the face up, sort of like using a laser to etch lines on a surface. You can then click on the inside of each letter and change the appearance (colour, material, etc.). This will show up in PV360.

SF
SF 2010-05-20

Keirans approach is great and I use this technique myself, however given the look of your design you will possibly have lots of little sections of text labeling each of the control. Using Keirans method means you will have to apply a material to each of the faces that make up the charaters of the text. In this example a decal image would be much more effecient. You can use the transparency controls to delete everything from the image except the text.

An alternative approach is to use the text to extude a very thin body/s (0.02mm) in another part file and assemble it into your main assembly. This way you can apply a material in part selection mode and all the charaters/bodies in that part will become the same color/material.

If you need text of different colours I still think the decal is the fastest way to do it.

Cheers

Chris

SF
SF 2010-05-20

OK, that actually makes it easier.

You can make a high-res decal that will fit perfectly over your features.

To make a face-plate for a tester I opened the silkscreen drawing in AutoCAD

-used the add-a-plotter wizard to create a PNG Raster driver

-created a custom paper size where the dimensions were the size of the face plate * the  resolution of the image.(DPI)

-opened the AutoCAD drawing and drew the frame around the text.

-printed the drawing to the raster driver using the custom paper size  I set the text color to 255 (otherwise it prints black) and changed the default back-ground colour to black..

Then in Solidworks I was able to insert the image as a decal onto the face and not have to tweak any of the transforms (position, scale, rotation)

To remove the black backtground I specified the image-based mask file option (works better than choosing the transparent color because there's always some feathering) and picked the same image.

The nice thing about decals is that you can specify surface finishes like matte or paint right there in the dialog box-in the end, I like them better than extruded text for complex silkscreens because you don't have the rebuild times and you don't get heavey black lines (from the extrude depth) around the text in the drawing.

On the down-side, decals don't show up in HLR views.

Hope this is useful.

SF
SF 2010-05-20

Thanks guys for your answers, I will give them a try this morning and see which way works best for me. I really want to learn this decal stuff could come in handy.

will let you know how it works out.

SF
SF 2010-05-20

I must have done something wrong with my decal, the rendering time has increased imensly. It onlt took about 15 mins before, so far I'm 45 mins in and only 17% done. something doesn't seem right.

SF
SF 2010-05-20

and so, after 2 hours of rendering time my final image was all blured and unusable.

SF
SF 2010-05-20

Let's see the result.

And tell us about your decal settings

SF
SF 2010-06-01

sorry, got busy on something else. I think it turned out quite well for a first time. The decal approach was easy. I did it just as suggested above, created a page the same size as my panel so no scaling involved.

Thanks for all your help.

SF
SF 2010-06-02

Looks great. What approach did you take to creating the decal?

SF
SF 2010-06-09

Just what you had said above. Was pretty straight forward and worked well.

Thanks

SF
SF 2010-07-02

I do something similar, but it's a  bit more complicated.

I'll build the the part in SW and then create a  drawing of the face I want to add the decal to.

Save it out as a DWG file.

Then go  into autoCAD, and set up all the text and lines, etc. Make sure to make  closed polylines around everything I want to be a filled color.

Save that  file and then go into Adobe Illustrator and import the modified DWG  file. Then I do all the coloring, and then export that as a 300dpi jpg  file.

This  file I use in SW to make the decal on the part.

I know it's a  long process, but I can get some stunning rendered parts using this  approach.