# 2d DXF to 3d model automation

**URL:** <https://forums.sketchup.com/t/2d-dxf-to-3d-model-automation/18363>\
**Category:** Ruby API\
**Created:** [December 7, 2015, 10:05am UTC](https://forums.sketchup.com/t/2d-dxf-to-3d-model-automation/18363 "2015-12-07T10:05:53Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![john\_drivenupthewall](https://avatars.discourse-cdn.com/v4/letter/j/c67d28/32.png) [@john\_drivenupthewall](https://forums.sketchup.com/u/john_drivenupthewall)\
**Post date:** [December 10, 2015, 11:44am UTC](https://forums.sketchup.com/t/2d-dxf-to-3d-model-automation/18363/3 "2015-12-10T11:44:42Z")

</div>

did you have a look at the [code in this post](http://forums.sketchup.com/t/how-can-i-get-the-outer-loop-of-multiple-faces/18325/2)?

it’s best to let users model units to work automatically…

```ruby
akDefaults = ['1.6mm'.to_l] 

```

also, I’d consider adding a material to the pcb at the same time…  
john

---

_[View the full topic](https://forums.sketchup.com/t/2d-dxf-to-3d-model-automation/18363)._
