vagran / dxf-viewer-example-src

Source for dxf-viewer-example GitHub pages repository
MIT License
44 stars 22 forks source link

Dimensions #20

Open bolbol62 opened 1 month ago

bolbol62 commented 1 month ago

Hi all, I am new to github I noticed that dxf dimensions is not rendered correctly - here is a screen shot of the outcome. also installation in a local server is long process and also ends by a link for the sample dxf - a YouTube clip or more guidance is appreciated to ensure a quick and smooth process

dxf_dim

arlebedev commented 1 month ago

I doubt anything can be done without a sample file which illustrates the problem. So far, dimensions worked more or less flawlessly with the samples I have tested on. What is the exact problem with local server run?

bolbol62 commented 1 month ago

Thank you for your prompt response the dxf file as attached render correctly with other third parties viewers. i have a simple xampp server on windows that runs in port 80 - the npm runs smoothly installation complete in node modules but only one html page in example which need to install its package . may be because I am new or i may have to adjust the links and ports manually . Nevertheless , I can see you are doing a great work

Regards, Bolbol


From: arlebedev @.> Sent: Tuesday, May 28, 2024 9:54 PM To: vagran/dxf-viewer-example-src @.> Cc: bolbol62 @.>; Author @.> Subject: Re: [vagran/dxf-viewer-example-src] Dimensions (Issue #20)

I doubt anything can be done without a sample file which illustrates the problem. So far, dimensions worked more or less flawlessly with the samples I have tested on. What is the exact problem with local server run?

— Reply to this email directly, view it on GitHubhttps://github.com/vagran/dxf-viewer-example-src/issues/20#issuecomment-2135032665, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BIX6SJE3CCRHE55EM5L65FDZERV7NAVCNFSM6AAAAABIMYISISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZVGAZTENRWGU. You are receiving this because you authored the thread.Message ID: @.***>

vagran commented 1 month ago

the dxf file as attached render correctly with other third parties viewers.

I see only the picture. Can I get the DXF file itself to investigate the problem?

You can run npm run serve command to run NodeJS built-in development server. If you want to deploy this example on your own server, run npm run build and then serve dist directory content.

bolbol62 commented 1 month ago

As attached. Thanks i will give it another try - should i install dxf-viewer-example-srchttps://github.com/vagran/dxf-viewer-example-src only or dxf-viewer as well?


From: Artyom Lebedev @.> Sent: Tuesday, May 28, 2024 10:17 PM To: vagran/dxf-viewer-example-src @.> Cc: bolbol62 @.>; Author @.> Subject: Re: [vagran/dxf-viewer-example-src] Dimensions (Issue #20)

the dxf file as attached render correctly with other third parties viewers.

I see only the picture. Can I get the DXF file itself to investigate the problem?

You can run npm run serve command to run NodeJS built-in development server. If you want to deploy this example on your own server, run npm run build and then serve dist directory content.

— Reply to this email directly, view it on GitHubhttps://github.com/vagran/dxf-viewer-example-src/issues/20#issuecomment-2135075935, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BIX6SJC4J3YCILIRCLJNLCDZERYXNAVCNFSM6AAAAABIMYISISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZVGA3TKOJTGU. You are receiving this because you authored the thread.Message ID: @.***>

vagran commented 1 month ago

i will give it another try - should i install dxf-viewer-example-srchttps://github.com/vagran/dxf-viewer-example-src only or dxf-viewer as well?

Clone dxf-viewer-example-src repo, then run npm install inside, it will install all required dependencies, include dxf-viewer library. Then run npm run serve to run live development server. Alternatively run npm run build - it will create dist directory which you can serve via any HTTP server to get the page like in the deployed example.

As attached.

I still cannot understand. Your message does not have any attachments. If you are trying to attach via e-mail client, this probably does not work with GitHub, you need to reply via web-interface, drag'n'dropping the file in the message.

bolbol62 commented 1 month ago

I looked to the sent items , it looks it was sent 2 times . - may it was blocked by a firewall


From: Artyom Lebedev @.> Sent: Tuesday, May 28, 2024 10:28 PM To: vagran/dxf-viewer-example-src @.> Cc: bolbol62 @.>; Author @.> Subject: Re: [vagran/dxf-viewer-example-src] Dimensions (Issue #20)

i will give it another try - should i install dxf-viewer-example-srchttps://github.com/vagran/dxf-viewer-example-src only or dxf-viewer as well?

Clone dxf-viewer-example-src repo, then run npm install inside, it will install all required dependencies, include dxf-viewer library. Then run npm run serve to run live development server. Alternatively run npm run build - it will create dist directory which you can serve via any HTTP server to get the page like in the deployed example.

As attached.

I still cannot understand. Your message does not have any attachments. If you are trying to attach via e-mail client, this probably does not work with GitHub, you need to reply via web-interface, drag'n'dropping the file in the message.

— Reply to this email directly, view it on GitHubhttps://github.com/vagran/dxf-viewer-example-src/issues/20#issuecomment-2135095269, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BIX6SJCN5K5J5P6MPUSSMP3ZERZ6JAVCNFSM6AAAAABIMYISISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZVGA4TKMRWHE. You are receiving this because you authored the thread.

vagran commented 1 month ago

You are replying by e-mail. GitHub most probably drops attachments in such replies. You can open the issue page by your browser on the GitHub: https://github.com/vagran/dxf-viewer-example-src/issues/20 and reply directly on this page, where you can attach any file by dragging it to the comment input field.

bolbol62 commented 1 month ago

will do Thanks


From: Artyom Lebedev @.> Sent: Tuesday, May 28, 2024 10:42 PM To: vagran/dxf-viewer-example-src @.> Cc: bolbol62 @.>; Author @.> Subject: Re: [vagran/dxf-viewer-example-src] Dimensions (Issue #20)

You are replying by e-mail. GitHub most probably drops attachments in such replies. You can open the issue page by your browser on the GitHub: #20https://github.com/vagran/dxf-viewer-example-src/issues/20 and reply directly on this page, where you can attach any file by dragging it to the comment input field.

— Reply to this email directly, view it on GitHubhttps://github.com/vagran/dxf-viewer-example-src/issues/20#issuecomment-2135123735, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BIX6SJFV5HR62LG4BCFZ2PLZER3SXAVCNFSM6AAAAABIMYISISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZVGEZDGNZTGU. You are receiving this because you authored the thread.Message ID: @.***>

bolbol62 commented 1 month ago

sample dxf file DEMO-2-V4_HEADERS.dxx.zip

bolbol62 commented 1 month ago

Thank you very much! Installing from within the replicated folder using your precise instructions was successful. Could you guide me on how to make basic UI edits or swiftly view a DXF file by typing http://localhost:9001? (including the DXF file's name and path). so, is it another standalone local server? not my local installed server?

vagran commented 1 month ago

so, is it another standalone local server? not my local installed server?

Running npm run serve in source folder runs vue-cli-service on local port 9001. This tool is particularly useful for development, any changes in source code instantly reflected on the page by hot reload feature of this service.

bolbol62 commented 1 month ago

Great


From: Artyom Lebedev @.> Sent: Wednesday, May 29, 2024 12:02 AM To: vagran/dxf-viewer-example-src @.> Cc: bolbol62 @.>; Author @.> Subject: Re: [vagran/dxf-viewer-example-src] Dimensions (Issue #20)

so, is it another standalone local server? not my local installed server?

Running npm run serve in source folder runs vue-cli-service on local port 9001https://github.com/vagran/dxf-viewer-example-src/blob/7cfc692ad4a06e5fb7f907b00609e404291e5f4c/package.json#L15. This tool is particularly useful for development, any changes in source code instantly reflected on the page by hot reload feature of this service.

— Reply to this email directly, view it on GitHubhttps://github.com/vagran/dxf-viewer-example-src/issues/20#issuecomment-2135296225, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BIX6SJHJSEAX6PGLADSTYYTZESE6HAVCNFSM6AAAAABIMYISISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZVGI4TMMRSGU. You are receiving this because you authored the thread.Message ID: @.***>