Hello everybody,
I'm new here and hope to be landed in the right area.
Shortly to my intention: I create a SW-Addin in the language C #.
I could implement all previous functions with the help of the API examples.
Now I would display "sketches with text" BEFORE they created.
Is there a way to create sketches (2D) only temporarily using the API?
If I work with the "sketchmanager", the lines are created and drawn in the model.
I'm looking for a way, similar to creating with the modeler, an temporary body or edge models, so that I can display it as a temporary "body".
With a body, it is possible with the function "Display" of the class/Interface "Body2".
Using this variant, I can also display edges (also "sketch lines") as a preview.
Difficult is it only with text :-( ==> this must be create "with hand" with the "modeler".
Because this I search for a way to preview sketches --> here I can easily write text.
I would be delighted to find solutions and other possibilities of realization.
PS: my native language is german - i hope you can understand this translation
Best regards George Most
sorry to tell you but doing this would require you to generate graphics based on font data. getting the points of a font outline is not so easy. I have not found a way.
if you were to create a font file that you can reference for each letter or character then you could do this.
just so you know. it is possible see
I cannot give you the code to do it as its thousands of lines of code with many class libraries.
my font file requires the use of arcs, and lines. no splines.
this font file is actually the font file that my machine shop uses to create their engraving paths.
these are temporary bodies. no feature associated with it.
create segment bodies for each piece. each letter is many bodies. they are then combined later.
the other option is to just do OPEN GL graphics on the screen
Help me about OpenGL!
this is much faster