Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
Centering DXF on face
pedro_cabral208
Member Posts: 7 ✭
Hey! My goal is to put an image on a face and remove-extrude it. For this, I have an SVG file that I have converted into DXF. The problem happens after importing the DXF, when I try to center it on the face. Adding a dimension between any part of the image and a point on my object causes the lines of the image to break apart, completely destroying the image. I'm able to remove-extrude the image just fine, but I have no way of centering it. Any idea how I can fix this?
Thanks in advance! Video and image files are available
https://youtu.be/_5AxvZupbqg
Answers
Place a point that you want as center of dxf. Select all and use the transform function. Move the triad to the new center and drag to origin,
Thanks, that works, but it means the size of the icon won't adjust automatically if the box's size is adjusted. Is there a way to make it dynamic, using dimensions?
The dxf does not have constraints so you would want to apply them to the sketch. Then meaning full dimensions can be added.
So I'd have to select the hundreds of vertices in my DXF one by one and apply constraints to each of them?
Import the DXF. If you un-check "Use file origin position" , the center of the DXF will be put at the origin. If you check, the X-Y origin of the DXF will be placed at the origin.
Before leaving the sketch. Drag a box around the imported lines in the sketch.
Then right click, and select Transform sketch entities.
This will allow you to drag all the lines as one. You can scale here too.
This will allow you to move the center set distances in X and Y.