JSCAD User Group

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Gorka Arakis
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 3
    • Best 0
    • Controversial 0
    • Groups 0

    Gorka Arakis

    @Gorka Arakis

    0
    Reputation
    1
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Gorka Arakis Unfollow Follow

    Latest posts made by Gorka Arakis

    • RE: From .obj to .dxf

      @z3dev Happy to hear it!

      posted in General Discussions
      Gorka Arakis
      Gorka Arakis
    • RE: From .obj to .dxf

      It works! Thanks!!

      posted in General Discussions
      Gorka Arakis
      Gorka Arakis
    • From .obj to .dxf

      Hi there

      I´m trying to convert an obj file to dxf. Exporting stl would be fine too. Trying it this way:

      var objDeSerializer = require('@jscad/obj-deserializer');
      var stlDeSerializer = require('@jscad/stl-deserializer');
      var dxfSerializer = require('@jscad/dxf-serializer');
      const fs = require('fs');

      fs.readFile('sceneOBJ.obj', 'utf-8' , (err, data) => {
      var deserializedObj = objDeSerializer.deserialize(data, data, {output: 'geometry'});
      var dxfStringArray = dxfSerializer.serialize(deserializedObj);
      console.log(dxfStringArray);
      });

      I get this error: only JSCAD geometries can be serialized to DXF

      The obj or stl files I´m using seem to be correct (blender shows them correctly).
      Any clues??

      Thx!!

      posted in General Discussions
      Gorka Arakis
      Gorka Arakis