Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
This question was closed Nov 09, 2018 at 11:29 AM by JUNGLEE372018 for the following reason:

The question is answered, right answer was accepted

avatar image
0
Question by JUNGLEE372018 · Oct 29, 2018 at 10:56 AM · unity 5scalingimporting problemscad

does unity changes the scale of a cad model internally

Hi, I have taken a block from NX with uniform scaling of 1 meter and exported it in dxf format. when i imported the model to unity its scaling is 1000 times bigger than the original size. 1 mm block from NX is equal to unity cube with 1,1,1 scaling. As i know unity default measurement is in meters, but why 1 meter in NX is not equal to 1 meter in unity.

Why is this happening.

Thanks Jung Lee.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

  • Sort: 
avatar image
0

Answer by UnityCoach · Oct 29, 2018 at 01:39 PM

Because like you said, 1mm in NX equals 1 unit in Unity.

Unity doesn't have a Unit system. I unit can be anything, although it's better to use meters for Physics.

CAD softwares usually have a unit system, which allows you to tell what a unit is. So when an object is 1 unit large, the system knows it's a meter, a foot, a mm, etc.. Choosing the appropriate scale in a CAD software is important to have the best accuracy, because values in computing are floating points, and can only have so many digits before or after decimal separation. Using mm makes very little sense unless you work on small models with extreme accuracy. For architectural models, meter is usually the best fit.

Your DXF file is probably set in mm. Unless you can change this in your export settings, you should change your import settings with a scale factor of 0.001 so that it matches.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image JUNGLEE372018 · Oct 30, 2018 at 07:04 AM 0
Share

thanks for answering @UnityCoach . that is true. but question is different (why scale changes).

yesterday came to know that , in cad software's/drawings it uses nurbs to create a model and in game engines we use polygon structure.

even if we import a nurb to unity it converts it to polygon. in the conversion process it changes the scale of the model to 1000x.

avatar image UnityCoach JUNGLEE372018 · Oct 30, 2018 at 09:33 AM 1
Share

Not all CAD softwares use NURBS, some do, most surface design tools do, but others use Solid $$anonymous$$odelling, which is different. In the end, it's all triangles in the graphics card. So all software do that conversion to display the model. That conversion usually happens when you export, not when you import, unless you choose a format that supports NURBS or Solid. DXF isn't the best format, it carries triangles, not sure about the scale.

Regarding the scale, it surely doesn't change. I don't know NX, but like AutoCad, 3dsmax and the like, it may have a "display/input" unit scale, and a file storing scale. The former can change anytime, the latter is better not to change.

Follow this Question

Answers Answers and Comments

248 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

When sprite is imported it changes color!!! 1 Answer

'Reimport' not working 3 Answers

Unity 5 - Does anyone know how to scale the text in the UI? 1 Answer

error CS1525: Unexpected symbol `0,2', expecting `.' or `[' 1 Answer

Unity 5.0.2 UI Text - Best Fit isn't working correctly? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges