Extrude from curved surface of cylinder

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
mario52
Veteran
Posts: 4693
Joined: Wed May 16, 2012 2:13 pm

Re: Extrude from curved surface of cylinder

Post by mario52 »

hi
orionstars wrote:New Font /Library/Fonts/Arial.ttf
Cannot compute Inventor representation for the shape of ShapeString007.
Cannot compute Inventor representation for the shape of ShapeString007.
Cannot compute Inventor representation for the shape of ShapeString011.
Cannot compute Inventor representation for the shape of ShapeString011.
it is a error "normal" are spaces characters
orionstars wrote:/Library/Fonts/Arial.ttf
texte [u'XII', u'XI', u'X', u'IX', u'VIII', u'VII', u'VI', u'V', u'IIII', u'III', u'II', u'I']
rayon 10.0
rotation 360
SizeCaractere 2.0
debout 0
Time : 0.01 min
are info for your configuration

mario
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
User avatar
Bernard19
Posts: 890
Joined: Sun Feb 20, 2022 7:16 pm

Re: Extrude from curved surface of cylinder

Post by Bernard19 »

@mario52
Having installed FCCircular Text which is really practical and quick, I need a method to create an Outdoor/Flat Mode configuration.
On the same line I have a mix of character sizes. The application is made for one size only.
How can I do this?
Please give me a tip, your application must be capable of achieving this feat and I repeat myself but it is super practical.
Thank you so much.
Attachments
Capture d'écran 2024-02-07 141515.png
Capture d'écran 2024-02-07 141515.png (128.64 KiB) Viewed 539 times
mario52
Veteran
Posts: 4693
Joined: Wed May 16, 2012 2:13 pm

Re: Extrude from curved surface of cylinder

Post by mario52 »

Hi
Bernard19 wrote: Wed Feb 07, 2024 2:04 pm
not directly in the macro sorry

but you can use the feature of FreeCAd (maybe you ave already use it)

1: configure the macro , text radius size placement and EXTRUDE char

2: push the Run Detail button

3: follow this video (select the string(s) to change the size)

FCCircularText_Heigth_Caracters00.gif
FCCircularText_Heigth_Caracters00.gif (308.88 KiB) Viewed 471 times

4: select all extruded characters

5: create a compound and fuse with the "pneu"

the best , use monospace characters , see the different distance with the I

you can use spaces for "équilibrer" or "distancer" the spacing between 2 word (maybe lots of tests)

PS: work easy in the XY plane

thanks for use my little macro for your beautiful project that i follow

mario
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
User avatar
Bernard19
Posts: 890
Joined: Sun Feb 20, 2022 7:16 pm

Re: Extrude from curved surface of cylinder

Post by Bernard19 »

@mario52
I had seen this Size option in the FcString properties but I didn't go through with it. The creation of a compound was missing. Do you do this from Part/Compound or something else?
A detail for which I fumble and look for the trick. These are the Radius of Circle and the Character size. In Outdoor mode/Flat mode, the text is inside the circle and not on the outside like in the small image in Flat mode.
Thank you for this very useful feedback.
mario52
Veteran
Posts: 4693
Joined: Wed May 16, 2012 2:13 pm

Re: Extrude from curved surface of cylinder

Post by mario52 »

Hi
Bernard19 wrote: Thu Feb 08, 2024 3:55 pm In Outdoor mode/Flat mode, the text is inside the circle and not on the outside like in the small image in Flat mode.
i rotate your pneu to XY plane if not is more complicated to work

here the text in XY plane you can work with the fuse CRYSTAL_by_MEDIAL_PRO

Yankee_PneuCrystal_BCH_TEXTE00.FCStd
(293.17 KiB) Downloaded 8 times
Bernard19 wrote: Thu Feb 08, 2024 3:55 pm In Outdoor mode/Flat mode, the text is inside the circle and not on the outside like in the small image in Flat mode.
Thank you for this very useful feedback.
the best work: work in XY plane and all correspond with the image displayed, and after rotate the block


PS: i work for attach and position on face (mais ... time and organization)

mario
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
User avatar
papyblaise
Veteran
Posts: 8003
Joined: Thu Jun 13, 2019 4:28 pm
Location: France

Re: Extrude from curved surface of cylinder

Post by papyblaise »

if I marry the two
Attachments
pneu2.FCStd
(643.96 KiB) Downloaded 9 times
pneu2.JPG
pneu2.JPG (97.47 KiB) Viewed 379 times
User avatar
Bernard19
Posts: 890
Joined: Sun Feb 20, 2022 7:16 pm

Re: Extrude from curved surface of cylinder

Post by Bernard19 »

mario52 wrote: Thu Feb 08, 2024 5:32 pm i rotate your pneu to XY plane if not is more complicated to work
If that doesn't bother you, could you make a short video to explain to me your way of making this change of plan?
Thanks you and have a nice day
mario52
Veteran
Posts: 4693
Joined: Wed May 16, 2012 2:13 pm

Re: Extrude from curved surface of cylinder

Post by mario52 »

Hi

not change of plane , the XY plane is the natural plane to work of FCCircularText

for the pneu (original is in ZY plane) i make the rotation (Fusion) 90 degrees and (Copie_Fusion) -90 degrees to have it in XY plane

for the text : radius 46 , size text 5 mm , extrude 3 mm (axis Z), placement Z axis 19 mm,

text and spaces (i modify the placement of "AL PRO" for diminish the écart cause the I )

Code: Select all

     MADE IN FRANCE     CRYSTAL by MEDIAL PRO
for extrude or fuse (for your case , after change the size of "Made in France" text) the text of the pneu you must fuse or create compound all text if not you must work character by character

other explanation ?

mario
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
Post Reply