Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Automation Script Example: Add Scaling to DXFs
s2c-code-share
Feb 15th, 2022
(
edited
)
845
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.18 KB
| None
|
0
0
raw
download
clone
embed
print
report
length
=
18
imgs
=
s2c.
list
(
"path/to/input_directory"
,
"dxf"
)
for
i
in
imgs:
dxf
=
i.
open
(
)
dxf.
scale
(
1000
,
length
,
s2c.
Unit
.
Inches
)
dxf.
save
(
dxf.
path
+
".scaled.dxf"
)
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
🔥 Make 1000$ in 20 minutes 💵 💎🔥
JavaScript | 36 sec ago | 0.20 KB
🔥 Make 1000$ in 20 minutes 💵
JavaScript | 45 sec ago | 0.24 KB
🔥 EASY PROFIT GUIDE ✅ Working 🔥
JavaScript | 2 min ago | 0.24 KB
🔥 EASY PROFIT GUIDE ✅ Working 🔥 🔥🚨
JavaScript | 2 min ago | 0.20 KB
💎 Instant Profit Method 🔥
JavaScript | 4 min ago | 0.24 KB
💎 INSTANT MONEY EXPLOIT 💎 🚨🚨
JavaScript | 4 min ago | 0.20 KB
✅ Exploit 500$ in 10 minutes 🔥
JavaScript | 5 min ago | 0.24 KB
✅ Exploit 500$ in 10 minutes 🔥 🚨✅
JavaScript | 6 min ago | 0.20 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!