{"action":"closed","issue":{"url":"https://api.github.com/repos/openscad/openscad/issues/1385","labels_url":"https://api.github.com/repos/openscad/openscad/issues/1385/labels{/name}","comments_url":"https://api.github.com/repos/openscad/openscad/issues/1385/comments","events_url":"https://api.github.com/repos/openscad/openscad/issues/1385/events","html_url":"https://github.com/openscad/openscad/issues/1385","id":94638484,"number":1385,"title":"import() doesn't pick up the $fs value in use","user":{"login":"darrenfreeman","id":4440028,"avatar_url":"https://avatars.githubusercontent.com/u/4440028?v=3","gravatar_id":"","url":"https://api.github.com/users/darrenfreeman","html_url":"https://github.com/darrenfreeman","followers_url":"https://api.github.com/users/darrenfreeman/followers","following_url":"https://api.github.com/users/darrenfreeman/following{/other_user}","gists_url":"https://api.github.com/users/darrenfreeman/gists{/gist_id}","starred_url":"https://api.github.com/users/darrenfreeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darrenfreeman/subscriptions","organizations_url":"https://api.github.com/users/darrenfreeman/orgs","repos_url":"https://api.github.com/users/darrenfreeman/repos","events_url":"https://api.github.com/users/darrenfreeman/events{/privacy}","received_events_url":"https://api.github.com/users/darrenfreeman/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-07-13T04:47:07Z","updated_at":"2016-01-08T14:31:14Z","closed_at":"2016-01-08T14:31:14Z","body":"This may be DXF related, or a bug in the import() module interface.\r\n\r\nThese two code snippets produce different results, and I think this is a bug. I think it's been there for a long time. Note I haven't tested these two, I mean this as an example, and it could be slightly more complicated.\r\n\r\nmodule good()\r\n{\r\n  $fs = 0.2;\r\n  $fa = 0.01;\r\n  rotate_extrude() import(file = \"foo.dxf\", $fs = 0.2);\r\n}\r\n\r\nmodule bad()\r\n{\r\n  $fs = 0.2;\r\n  $fa = 0.01;\r\n  rotate_extrude() import(file = \"foo.dxf\");\r\n}\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/24235568-import-doesn-t-pick-up-the-fs-value-in-use?utm_campaign=plugin&utm_content=tracker%2F52063&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F52063&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"}}