Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 4,635
» Latest member: Steve2002
» Forum threads: 5,788
» Forum posts: 49,441
Full Statistics
|
Latest Threads |
LDraw compatible Hubelino...
Forum: Off-Topic
Last Post: Robert Cruise
8 hours ago
» Replies: 11
» Views: 18,466
|
Harry Potter sets
Forum: Official Models
Last Post: Rene Rechthaler
Yesterday, 17:29
» Replies: 2
» Views: 124
|
James Jessiman Memorial A...
Forum: LDraw.org Announcements
Last Post: Takeshi Takahashi
Yesterday, 15:44
» Replies: 6
» Views: 192
|
Friends 2014
Forum: Official Models
Last Post: Takeshi Takahashi
Yesterday, 15:42
» Replies: 9
» Views: 3,274
|
Hips and Dark Orange Legs...
Forum: Part Requests
Last Post: Zoltán Tibor
Yesterday, 8:16
» Replies: 0
» Views: 65
|
Friends Animal Series
Forum: Official Models
Last Post: Takeshi Takahashi
2024-12-24, 15:45
» Replies: 1
» Views: 709
|
A request for a simple sc...
Forum: LDraw Editors and Viewers
Last Post: HWQ
2024-12-24, 1:30
» Replies: 4
» Views: 304
|
Parts Request: 3 CLOTH PI...
Forum: Part Requests
Last Post: 3CFigs
2024-12-23, 21:30
» Replies: 0
» Views: 436
|
Packing LDraw Files
Forum: General LDraw.org Discussion
Last Post: Cam's Bricks
2024-12-23, 12:52
» Replies: 1
» Views: 186
|
Tile 1x1 Round with Black...
Forum: Parts Authoring
Last Post: Evert-Jan Boer
2024-12-22, 14:00
» Replies: 2
» Views: 169
|
|
|
LDraw installation folder |
Posted by: Jetro de Château - 2012-01-09, 15:46 - Forum: General LDraw.org Discussion
- Replies (15)
|
|
Traditionally LDraw has always been installed under C:\LDraw on Windows machines.
I never liked the idea of placing it directly under C.. somehow it seemed unorganised and made more sense under Program Files. The AIOI does just that and on my Windows / machine creates the LDraw folder under C:\Program Files (x86)\LDraw. This has 2 drawbacks though.
First of all, the AIOI is used by many people who want a simple, fast out-of-the-box LDraw installation. But when they want to update the parts library they find the proposed installation path given by the executable LDraw.org provides is the traditional C:\LDraw. They are unlikely to remember where the AIOI installed everything and if they simply go ahead and install the update will not show up in their MLCad.
Secondly, if they are clever enough to use LDView to update their library they run into another problem: LDView will throw an error and not install the update. The reason is that LDview has no admin rights to make any changes to the installation folder and so cannot install the update. In order to fix this a user needs to go into C:\Program Files (x86)\LDraw and remove the "read-only" option for that folder and all files and folders included in it.
I have addressed this issue on the HispaBrick Magazine blog.
Neither of these situations is ideal. Granted, LDraw users might be expected to have some computer skills, but ideally LDraw should be accessible to anyone without the need to know these things.
I don't know which location is preferable for LDraw (C:\Program Files (x86)\LDraw or C:\LDraw) but it would make sense to help users as much as possible to avoid any confusion. Maybe the LDraw.org update could include an AIOI option to make sure files are installed at the right location.
At the same time, maybe it is possible for the AIOI to change privileges for the installation folder so as to ensure that LDView can actually carry out a parts update without running into problems.
Neither of these two situations is ideal.
|
|
|
BFCing |
Posted by: Steffen - 2012-01-09, 1:17 - Forum: Parts Authoring
- Replies (22)
|
|
Does anyone of you have an executable of WINDZ available to give me?
It seems to not be downloadable anywhere anymore.
I've been BFCing parts in the past some time, always using the "manual method", i.e.,
looking at the part in LDView, identifying the wrongly oriented faces, coloring them in MLCad,
then changing their winding in LDDP, or inserting INVERTNEXT's.
When I look at parts in red/green BFC checking mode in LDView, I always thought
that the BFCing process - to a certain extent - should be easily automatable;
I think that's what WINDZ also does:
just render the part from various perspectives, and flip all faces that appear "red" during that.
Of course, if a surface gets flipped twice this way, it cannot automatically be oriented correctly,
and manual post-correction is needed. However, for a majority of parts, the described
method should trivially work like a breeze.
Does anyone of you know of software which does that?
I want to speedup my BFCing processing...
Having such a software would allow us to instantly BFC big amounts of our library,
and reduce the remaining manual work to the parts which really require attention.
My best preference would be a tool like edger, command line based,
and simply taking an input file, outputting a result file where all faces are oriented correctly,
and the file otherwise unchanged. Undecidable surfaces should be colored in a user-selected color,
so they can be taken care of manually.
|
|
|
Points on a circle primitive |
Posted by: Tim Gould - 2012-01-08, 21:51 - Forum: Parts Author Tools
- Replies (3)
|
|
Hi all,
Below is a perl script to take a bunch of angles and convert them to points on the edge of a circle primitve (ie. a 16 or 48 point polygon). The comments up top describe how to use it. It's designed to make generating rims on the bottom of curved parts relatively easy when there's only a few segments required and hand-coding makes more sense than using Philo's wonderful toys.
Tim
Code: #! /usr/bin/perl
# ang2point.pl [-r RAD] [-t THICK] [-s SEGS] ang1 ang2 ... angn
#
# RAD defaults to 20
# THICK defaults to none
# SEGS defaults to 16
#
# Projects the angles onto a circular primitive of radius RAD
# with SEGS segments. If THICK is specified it also shows the
# points on an inner radius of RAD-THICK
#
# It scales the radius at each angle to ensure it lies on the
# SEG-sided polygon that approximates the circle.
#
use POSIX;
$rad=20;
$segs=16;
@angs=();
$thick=0;
for ($ia=0; $ia<=$#ARGV; $ia++) {
$opt=lc($ARGV[$ia]);
if ($opt eq '-r') {
$ia++;
$rad=$ARGV[$ia];
} elsif ($opt eq '-t') {
$ia++;
$thick=$ARGV[$ia];
} elsif ($opt eq '-s') {
$ia++;
$segs=$ARGV[$ia];
} else {
push @angs, $opt;
}
}
$nang=$#angs+1;
print "0 // ang2point.pl ".join(' ', @ARGV)."\n";
print "0 // Calculating $nang points at outer radius $rad on $segs segments\n";
if ($thick>0) {
$radp=$rad-$thick;
print "0 // Also calculating inner radius $radp\n";
}
@reffs=();
@rieffs=();
$kk=3.141592635/180;
foreach $ang (@angs) {
$f=$ang/360;
$a0=floor($f*$segs)/$segs*360;
$ar=$ang-$a0;
#print "$a0 + $ar\n";
$c0=cos($kk*$a0);
$s0=sin($kk*$a0);
$cf=cos($kk*($a0+360/$segs));
$sf=sin($kk*($a0+360/$segs));
$ct=cos($kk*$ang);
$st=sin($kk*$ang);
$scale=($c0*$sf-$s0*$cf)/(($sf-$s0)*$ct-($cf-$c0)*$st);
$reff=$scale*$rad;
$rieff=$scale*($rad-$thick);
#print "Effective radius $reff\n";
push @reffs, $reff;
push @rieffs, $rieff;
}
@pts=();
@ipts=();
foreach $ia (0..$#angs) {
$x=$reffs[$ia]*cos($kk*$angs[$ia]);
$z=$reffs[$ia]*sin($kk*$angs[$ia]);
push @pts, sprintf("0 // Point %2d: %.3f 0 %.3f\n",
$ia+1, $x, $z);
if ($thick>0) {
$x=$rieffs[$ia]*cos($kk*$angs[$ia]);
$z=$rieffs[$ia]*sin($kk*$angs[$ia]);
push @ipts, sprintf("0 // Inner point %2d: %.3f 0 %.3f\n",
$ia+1, $x, $z);
}
}
print @pts;
print @ipts;
|
|
|
Road baseplates |
Posted by: Michael Horvath - 2012-01-08, 3:56 - Forum: Parts Authoring
- Replies (2)
|
|
Currently, when you change the color of a road baseplate, the road surface changes color as well as the studded area. This is incorrect IMO, and the road surface should remain gray no matter what the color of the studded area.
My 2 cents.
|
|
|
Parts Tracker certification marks |
Posted by: Philippe Hurbain - 2012-01-07, 13:17 - Forum: Website Suggestions/Requests/Discussion
- Replies (1)
|
|
Hi all,
Presently, the certification status of parts that have subparts is very blurry: there is only one yellow color tag. I think that this lack of visibility greately reduce review rate... Would it be possible to have a more detailed view, depending of status of subparts (and subsubparts and so on...)? eg. - Yellow: at least one subpart in the tree needs more certification vote
- Orange: at least one subpart in the tree has a hold vote
- Light blue: all subparts in the tree have at least two cert votes
- Blue: all subparts are certified
- Bright Green: part has at least two cert votes, all subparts in the tree have at least two cert votes.
- Green: part and all subparts are certified.
|
|
|
Patterns and color 16 |
Posted by: Travis Cobbs - 2012-01-07, 2:20 - Forum: Standards Board
- Replies (11)
|
|
I think the topic Chris raised about using color 16 in patterns where it makes the pattern useless for any other brick colors than the original one has had enough feedback from the general populous that we should now decide if the spec should be updated.
My personal opinion is that in cases like the fire logo, where it's clear that a specific color is required, that color should be used in the pattern file. And in cases like the gauge where it's ambiguous, color 16 should be used. Perhaps disagreements over whether or not something is ambiguous could be resolved by the part admin.
Thoughts, everyone else?
|
|
|
Interpreting the Views counter |
Posted by: Chris Dee - 2012-01-06, 12:06 - Forum: Website Suggestions/Requests/Discussion
- Replies (5)
|
|
In forum pages like this, what does the Views count represent? Unique users or a cumulative count including repeat views by the same user? Is the count for a higher-level message incremented if you open the whole thread from the last message?
I'd prefer the former to get a feel for how many members are interested in a particular topic, even if they don't respond.
|
|
|
|