Hatch Fill
 1-20  21-37

Previous
Next
 From:  Michael Gibson
7279.21 In reply to 7279.20 
Hi Brian, I haven't tried it myself but you might look at JSLint for JavaScript files. A checker for .htm files may be more problematic because it may say the custom moi: elements aren't standard and it also won't like that moi.css is implicitly added to every file.

re: semicolons - I believe semi-colons at the end of lines are officially optional in JavaScript so it should still run without those but it is good practice to have them.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
7279.22 In reply to 7279.21 
Thank you Michael.
I'll try JSLint some time

- Brian

EDITED: 3 Dec 2017 by BEMFARMER

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Martin (MARTIN3D)
7279.23 
Thank you Michael and Brian, I will update the script.

-Martin

Edit: I attached an updated version to post 7279.9

EDITED: 4 Dec 2017 by MARTIN3D

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  christian (CHRI)
7279.24 
Hi

Hatchit script works fine

i have find a trick to change the direction of the hatching

is it possible to add a parameter in the script to input the direction ?

Chri
Image Attachments:
Size: 33.7 KB, Downloaded: 53 times, Dimensions: 886x522px
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  christian (CHRI)
7279.25 
NEW EXAMPLE

Chri
Image Attachments:
Size: 210.1 KB, Downloaded: 47 times, Dimensions: 1346x875px
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
7279.26 In reply to 7279.24 
Hi Chri, try this version I've modded Martin's cool script so it has a rotation parameter added.

- Michael

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  christian (CHRI)
7279.27 
Hi Michael

Exactly what we need .

your are incredible.

Have a good day
Image Attachments:
Size: 89.7 KB, Downloaded: 48 times, Dimensions: 684x457px
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
7279.28 
French version in no time! :)
Done : https://moiscript.weebly.com/hachures.html

EDITED: 27 Feb 2021 by PILOU

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
7279.29 
Seems working only on the "top view" faces's object! ?
---
Pilou
Is beautiful that please without concept!
My Moi French Site My Gallery My MagicaVoxel Gallery
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Martin (MARTIN3D)
7279.30 In reply to 7279.29 
Yes, the closed shapes must be drawn in the top view and if you want to hatch several closed curves at once they must be all on the same Z plane.

HINT
You can hide all hatch lines In the Scene browser under Objects.
Or you can select and delete or color all hatch lines.

Thank you Michael for modding the script!

-Martin
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
7279.31 In reply to 7279.29 
Hi Pilou,

re:
> Seems working only on the "top view" faces's object! ?

Yes, that's correct, some usage notes earlier in this thread here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=7279.9

quote:

NOTE
The closed shapes must be drawn in the top view.
If you want to hatch several closed curves at once they must be all on the same Z plane.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  christian (CHRI)
7279.32 
Last example combine with command Make2D4Views

http://moi3d.com/forum/messages.php?webtag=MOI&msg=8041.1

Chri

EDITED: 1 Mar 2021 by CHRI

Image Attachments:
Size: 391.8 KB, Downloaded: 89 times, Dimensions: 1671x941px
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
7279.33 
Very convincing!
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  dangerhu
7279.34 In reply to 7279.27 
Where can I find this feature?
If the filling surface is a surface, what can we do?
thanks!
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
7279.35 In reply to 7279.34 
Just load these files unzipped in the moi commands folder
and make a shortcut on it
write HatchItWithRotation or hatchItwithRotation or HAtchItwithRotation etc...but without space
or Press Tab and write HatchItWithRotation but without space

https://moi3d.com/forum/get_attachment.php?webtag=MOI&hash=49a2a6271e520996f071e7324a59a40e&filename=HatchItWithRotation.zip
---
Pilou
Is beautiful that please without concept!
My Moi French Site My Gallery My MagicaVoxel Gallery
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  dangerhu
7279.36 In reply to 7279.27 
Can you tell me how to operate it?
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Michael Gibson
7279.37 In reply to 7279.36 
Hi dangerhu, are you on Mac or Windows and what version of MoI are you using? That will help me to give you more precise instructions for how to install and run this plug-in script.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages:  1-20  21-37