Quantcast
Channel: LDraw.org Discussion Forums - LDraw Editors and Viewers
Viewing all 122 articles
Browse latest View live

LDView 4.2 > Display Problem for Prim. Subst. for 48\Cones larger than 9? (11 replies)

$
0
0
When doing the 30398 I stumbled over a strange behavior in LDView.

To conclude:
If a file uses a cone larger than 9 from the Hi-Res primitives, i.e. starting from 48\4-4con10, AND LDView is set to use Primitive Substitution, the curve is not smoothed.
However if the file uses the standard primitive, 4-4con10, the smoothing works.

Anybody noticed this as well?

This code
1 14 0 5 0 1 0 0 0 2 0 0 0 1 48\4-4con5.dat
1 14 0 0 0 1 0 0 0 2 0 0 0 1 48\4-4con9.dat
1 14 0 -5 0 1 0 0 0 2 0 0 0 1 48\4-4con10.dat
1 14 0 -10 0 1 0 0 0 2 0 0 0 1 48\4-4con12.dat
1 16 0 -15 0 1 0 0 0 2 0 0 0 1 48\4-4con20.dat
results in this:
giving no smoothing for the bottom three (10, 12 and 20)



and this code
1 14 0 5 0 1 0 0 0 2 0 0 0 1 4-4con5.dat
1 14 0 0 0 1 0 0 0 2 0 0 0 1 4-4con9.dat
1 14 0 -5 0 1 0 0 0 2 0 0 0 1 4-4con10.dat
1 14 0 -10 0 1 0 0 0 2 0 0 0 1 4-4con12.dat
1 16 0 -15 0 1 0 0 0 2 0 0 0 1 4-4con20.dat

results in proper smoothing:

LPub3D 1.3.0 Released ! (no replies)

$
0
0
Greetings,

Just in time for the new year ! Lots of enhancements in this version.

I had some difficulty with adding multiple search directories (essentially allowing for any number of Ldraw libraries) which took me longer than I anticipated. In fact, I had to write and enhancement for ldglite - not so easy updating old c code.

As before, you can download from sourceforge.net or check for updates in your existing installation.

Here are some key enhancements:



Full release notes - Happy Reading !

LPub3D 1.3.0.504.2

Features and enhancements
------------
-Add dialog to print or export to image all pages, current page and custom range of pages (e.g. 1,3,5,7-9)

-Add ability to detect additional ldraw content search directories using ldrawini c api
I implemented the ldrawini c api to maintain compatability with LPub3D 3rd Party renderers - LDView, L3P(PovRay) and Ldglite. Additional directories must have either the same tree as LDraw Unofficial directory (i.e. parts and/or p subdirectories...) or alternatively, content can be deposited at the root of the additional directory (i.e. C:/ldrawFiles/*.dat). Content from all defined ldraw search directories are archived in the ldrawunf.zip archive and loaded into memory - enabling access to the 3DViewer.
If no ldraw.ini file is detected. LPub3D will automatically search all subdirectories under the ldraw/Unofficial directory - except directories p and parts. Unofficial subdirectories p and parts as well as official p and parts subdirectories are never searched because they are automatically loaded during default behavior during startup.
There are 2 ways to define search directories: 1. using the Ldraw.ini file (there is now a menu button to edit the ldraw.ini file) and 2. editing the 'Ldraw Content Search Directories text edit dialog under the 'Other' tab in Preferences. If you are using an LDraw.ini file, the preferences dialog will be read only - you must use the menu edit button under 'Configuration' to edit the ldraw.ini file. The ldraw.ini edit button only appears if a ldraw.ini file is detectected. If you are not using ldraw.ini, it is possible to add,remove and reset to the default search directories in the Preferences tab.
ldglite renderer updated with the ability to process additional directories beyond official/unofficial parts, p and Model. I implemented this enhancement to allow all 3 LPub3D renderers(LDView, Ldglite, L3P/PoV Ray) the same functionality supporting additional ldraw content search directories. LPub3D now passes 2 env variables to ldglite - LDRAWDIR and LDSEARCHDIRS. LdView and L3P already uses the ldrawini.c library. They can also be configured to detect additional ldraw content search directories if no ldraw.ini file is configured. I also upgraded ldglite's openGL API from glut (deprecated) to freeglut 3.0 released in June 2015. Ldglite os not versioned at 1.3.0 (from 1.2.7).

-Add ability to manage additional ldraw content search directories whether using Ldraw.ini or not.
If not using Ldraw.ini file, automatically detected search directories are limited to those under the Unofficial directory. The user has the ability to exclude and reset search directories within this edit list. Unofficial P and Parts directories are automatically excluded from the search directory list as they are loaded automatically by the application.
-Add Rotate Icon - indicate that the builder should "flip" the model

-Add line type attribute to border configuration
0=none,1=solid,2=dash,3=dot,4=dashDot,5=dashDotDot. So an old meta line like this:
0 !LPUB PLI BORDER GLOBAL ROUND Black 0 15 MARGINS 0.472439 0.07 should be updated to this:
0 !LPUB PLI BORDER GLOBAL ROUND 1 Black 0 15 MARGINS 0.472439 0.07

-Add PLI/BOM part substitution - substitute modeled part in PLI/BOM with alternate
This feature is useful when you have a modeled part (e.g. Power Functions Light) that will
take alot of space in the BOM/PLI, you can substitute the modeled version with an alternate
representation that is suitable for the PLI/BOM view. This feature is complementary to LDCad's
template functionality which allows you to model adjustable parts as needed. To use this
functionality, simply edit the substituation list from Configuration= BOM/PLI Substitute Parts List

-Add LDCad PART/UNOFFICIAL PART meta to recognize LDCad template generated parts

-Add gradients to background options

-Add Change local page background - colour, gradient, picture, submodel, none

-Add memu item 'Refresh Unofficial Parts' which downloads and replaces the ldrawunf.zip archive
in the Ldraw/LPub3DVoiewer-Library. LPub3D places all search directory parts in the ldrawunf.zip archive so they
can be made available for the LPub3D Viewer. This feature allows you to reset the archive file to
it's latest default content if desired. The ldrawunf.zip unofficial archive is used, along with the complete.zip,
by the 3DViewer.

-Add menu item 'Reset Fade Files Cache' which deletes all generated fade files. Fade files automatically
generated as needed when you open a model with the 'Enable Fade Steps' preference option checked.

-Update 3DViewer to LeoCAD build 1867

-Remove PartsList class, use instead lcPiecesLibrary class to verify parts and capture part title. This is a consolidation to
improve the application's performance.

-Move process fade colour parts to separate thread.

-Move fade parts directory from under LDraw/Unofficial/parts and LDraw/Unofficial/p to as single directory
under LDraw/Unofficial. So from this version of LPub3D, the fade directory will be autogenerated and populated
as LDraw/Unofficial/fade. Old fade directories under Unofficial/parts and p must be manually removed if desired.

-Redesign color part list and archive classes - rename and separate generage color parts list

-Cosmetic and performance updates

-Fix: Changing step number attributes on multi-step pages are now working

-Fix: PLI/BOM sort routine, sort on 'part colour' part(s) appear out of place relative to part size and colour.

-Fix: Do not create instruction page(s) for unofficial part

-Fix: Create s/8/48 subdirectory in lpub/tmp directory when needed. This fix will resolve the issue of LPub3D not being able to create inline unofficial subparts and 8/48 primitives when rendering models where these parts are defined in the model file.
-CHANGE: In previous versions of LPub3D, custom and fade parts were loaded under the Unofficial directory allowing detection by all renderers and the 3D viewer. From this version of LPub3D (v1.3.0), the fade directory will reside at the root of the the Unofficial directory. Custom content added to Unofficial P and Parts directories will not detected by LPub3D.

-CHANGE: Change part count routine to use ldraw archive files to look at '!LDRAW ORG...' part type meta tag. I think there are still some issue with this routine however - especially with large complex models using in-lined unofficial parts that may not be in ldrawunf.zip.

-CHANGE: Change 'Reset All Caches' to 'Reset Image and Model' Caches

-CHANGE: BOM default sort to sort by colour then size, previous default was size only (PLI default sort by size)

-CHANGE: Change 'Update' tab in preferences dialog to 'Other'.

Cheers !

LDview screenshot has no anti-aliasing (5 replies)

$
0
0
I've been having this problem for quite a while now, but I was too lazy to try to fix it. But, it's starting to annoy me more and more.
Basicly, LDview's screenshot output doesn't match what I'm seeing in LDview. It looks like it doesn't apply the anti-aliasing.

Here's an example: this is what I see on the screen and this is LDview's sceenshot output (please click the button for the original image, Onedrive is compressing the preview).

The strange things is that when LDview is being used by LPub, there's no problem at all and I have the smooth lines and all.

I'm using Windows 10 (but I believe I also had the problem on Windows 8.1, but I can't remember) and I'm using LDview 4.2 Beta 1 (I also tried 4.1 without any success).

Does anyone have an idea what the problem might be?

Idea: Highlighting new parts in a step (no replies)

$
0
0
Maybe I am asking too much at a time, but I really want to share this thought...

Reading the review of the Ghostbusters Firehouse on Eurobricks (http://www.eurobricks.com/forum/index.php?showtopic=118783) I saw something interesting I've been wondering about before.

LEGO uses highlighting to show what parts a new in a step.
Like this


They've done this occasionally before (in the long past and I think with some monthly minibuilds) and I think it would be nice to be able to do this too?

Would something like this be possible to implement in LPub3D?
Or use some other software to pre-process an LDraw file that creates lines around the parts of a step?

I've done this in some instructions by hand (not every step) where it was really hard to see where parts went in a certain step. This is often the case with a monochrome model or when one uses many black for instance.

LDCad pane docking (4 replies)

$
0
0
I'm working my way through the LDCad tutorials and trying to build some models to get the hang of it.
There are a couple of things that I can't quite figure out. One of them is the location/docking of panes. Somehow my color bin and parts bin panes have become undocked and I can't find a way of docking them again. How do I dock them again so they are not on top of the compass if I move them to the left side?

Hiding parts from the part list in LPUB (4 replies)

$
0
0
I'm trying to get back into the game and running into all sorts of issues I thought I knew...

I'm building a WeDo model and I'm having some issues with cables and strings. I'm trying to add a PF connector in a step without is showing up in the parts list. I thought I needed to ghost the element to do so, but LPub still shows it. What could I be doing wrong?

Another issue is with the string. Rather than show a 41L string in the parts list (which makes it way to big) I would like to add an image of a curled up string to the parts list and a generated string (with bends etc.) in the model. I assume the procedure is similar...

Changes in install path (7 replies)

$
0
0
As I said in an earlier post, I'm trying to get back up to speed with LDraw and in addition I'm on a "virgin" system (Windows 7 Ultimate x64) so I'm installing everything fresh.

I used the latest AIOI (2015-1) after which I used LDView to update my parts.

So far so good. Today I needed LSynth constraints to create a string. Somehow that didn't get installed with my AIOI (I didn't do a full install, but I only remember leaving out Pov-RAY).
Anyway, easy enough following the excellent tutorials on Holly-Wood. That is, until I tried to install the extra parts and couldn't find my part library. I have since located it under C:\Users\Public\Documents\LDraw, but it would be nice to see this updated in the tutorials

I have also downloaded the latest MLCad.ini file and modified it as per the instructions in the same tutorial (http://www.holly-wood.it/lsynth/tutorial-en.html). I have indiated LSynth is located at
%PATH = "C:\Program Files (x86)\LDraw\LSynth\bin\lsynthcp.exe" (commas because of the "gap" in the name)
and added the following line to the scan order list:
7 = Show <LDRAWDIR>Unofficial\LSynth
which corresponds to the location I have unpacked the helper files
C:\Users\Public\Documents\LDraw\Unofficial\LSynth

I have then saved the MLCad.ini and placed it next to MLCad.exe in the installation folder.

Next up I have told MLCad to rescan the parts list and I have created a new part tree entry for LSynth.

However, the helper files do not show up in the part tree and MLCad shows all LSynth commands greyed out.

What did I do wrong?

LPub3D - page layout on multistep pages (24 replies)

$
0
0
When I make instructions with LPub3D everything is fine as long as I use one step per page.
However, when I include more than one step on a page several things get out of control
  1. The steps cling together at the vertical centre of the page.
    I have found out that using 0 !LPUB RESERVE 0.1 will help me separate them, but ideally I would want the first step to start at the same location it would be if it was a single step on a page.
    .
  2. The steps cling together at the horizontal centre of the page.
    I have not found a way to make PLIs stay on the same (horizontal) spot between pages (e.g. always at 2cm from the left margin). Instead they dance around the page depending on the width of the view of the model
Am I missing something or are those the current limitations of the program?

LPub3D crashes every now and then (8 replies)

$
0
0
Hi Trevor,

Every now and then LPub3D crashes producing a minidump (the last one from this evening) attached in the zip.
This particular crash came whe I changed the margins of an assembly.

Another crash often occurs is when I add a divider in either multistep pages or callouts.

Saving the LDraw file just before that and reloading it keeps it from crashing again.

Perhaps you can look into this?

Callout placed wrong (2 replies)

$
0
0
Hi again Trevor,

Regarding some placement here is another example of where it goes wrong.
I set this callout to be at Bottom:Right of the Assem, but it turns up at the Top:Right postion?

Virtually open wings on Poe's X-wing Fighter (no replies)

$
0
0
I've converted the LXF file for 75102 (Poe's X-wing Fighter) to an LDraw model using LDD2LDraw

The model currently has the X-Wings in their "folded/collapsed" state. I'm wondering if I can use the gears feature in SR 3D Builder (or another tool?) to "virtually" open the wings using the cog on the back of the model (you can do this with the "real" model!)

I'd also like to fold/collapse the wings on Kyle Ren's command shuttle (75104) using a similar approach.

Any help would be appreciated.

Thanks

Reuben

LDCad tips and tricks (12 replies)

$
0
0
Rather than burrying this kind of questions in LDCad new version announcement threads I figured out it might be interesting to create a specific thread...

Rotation icon in assembled callout in LPub3D (1 reply)

$
0
0
When I choose "Add assembled image to parent page" at the end of a submodel a rotation icon is added to the callout.
Deleting or hiding it does not work.

The code seems to add correct:
0 !LPUB CALLOUT ROTATE_ICON DISPLAY LOCAL FALSE

LPub3D Hi-Res PDF (above 96 dpi) (1 reply)

$
0
0
Someone on sourceforge.net reported that they are unable to generate pdf output beyone 96 dpi - even with the following settings:
0 !LPUB RESOLUTION GLOBAL 150 DPI
Is anyone else experiencing this behavior ?

Many thanks !

Cheers,

LDCad 1.5 (win+linux) (1 reply)

$
0
0
Hello All,

I think the last beta was stable enough to allow a definitive 1.5 version.

Therefore this version only includes some minor bug fixes / tweaks.

I did manage to add MSAA anti-alias support though by merging it in from the 1.6 alpha version.

MSAA will only be applied on the LDraw renderings not the gui overlay. I've found out myself this can cause problems on some VGA drivers so make sure you have the latest ones installed. the old edge only aa is also still available but aa will default back to none when upgrading to this version.

I've also managed to add part snapping info for the new 2015-02 library, the car and support category bin groups parts.

The latest LDCad version (like always) can be downloaded from

http://www.melkert.net/LDCad/download

With this release done I'm going to concentrate on 1.6 which will include the following:

  • Region selection.
  • Macro scripting.
  • More animation scripting.
  • ROTSTEP support.
  • Hotkey management / reassignment.
  • Multi layer groups.

And might include
  • Buffer exchange support
  • Povray animation export
  • Blender animation export
  • Additional things suggested in the 1.6 suggestions thread.

But as always non is set in stone :)

LDCad HDPI Screen Resolution Windows 10 (2 replies)

$
0
0
Hello,

I love this LDCad. But with Windows 10 I always need to reduce screen resolution in order to see the menu text in LDCad.

I am using a Lenovo Yoga 2 Pro notebook. Standard and recommend screen resolution: 3200 x 1800.

Is there a trick or a setting, so that LDCad plays nice together with High Resolution Screens (sometimes also called 4K).

Thx,
Manfred

How to compile LPub3D on Linux? (3 replies)

$
0
0
Hello Trevor.

I tried to compile LPub3D on Linux but no success so far. Please, what's the proper way?
(I can compile old LPub4 with no problem.)

My attempt: qmake && make

Problems:

1. some files and directories have wrong case in their names, usual problem with sources coming from Windows. I fixed that.
2. qmake warns and make of some files reports an error that I do not have windows.h - what to set on unix-like systems?
3. build.h is missing, how/where I can get it?
4. are there more changes since LPub4, which may cause problems? More libraries etc.?

Thank you,

Milan

LDCad questions (2 replies)

$
0
0
I have a few specific questions for LDCad use that I haven't (yet) found answers to:

- Changing part colours
If I make a mistake or simply want to try a different colour scheme, I need to change the colour of parts that are already in the model. So far the only way I have been able to do this is to select the part and then double click on the new colour in the colour wheel.
Depending on where the colour is in the wheel this can be tricky. Is there a better way to do this? Is there a way to turn the wheel so a specific colour is more accessible?

- Moving parts to a submodel
Occasionally after building a digital model I realise that for the sake of clarity in the instructions it would be easier to move a number of parts tu a submodel (e.g. either to create a callout). Is there a way to easily move parts to a submodel that doesn't involve deleting them from the main model?
I'm thinking of an option that would allow me to move parts to (and from) submodels in the same way I can now move parts from and to steps

- Substituting parts
have just found I need to change a 6L axle for an 8L axle. Is there a simple way to substitute one part for another, without removing one and reinserting the next? MLCad has a dialogue for that.

Animation fun with LDCad (3 replies)

$
0
0
I wrote a few animation scripts for LDCad that build/explode/dissolve a model...
You may see the results in this Youtube playlist.
The scripts are attached here, as well as the model used for the videos: a "flattened" (submodels inlined) of Makou's CAD model of 10018 - Darth Maul

To test these scripts on you own model:
  • Load model in LDCad
  • Model -> edit header -> scripting tab
  • Browse to the script you want to try / OK
  • Click on model name on top right of edit window and choose "animation" mode
  • Play and enjoy!

PDF output LPub3D changed? (5 replies)

$
0
0
Hi (Trevor),

Just today I noticed there has been a change in the way LPub3D makes a PDF.
Where first all text was still text and all images where individually put on the page, now one page is one whole image?

Why is this? I assume you have good reasons?

Can you undo this or make it optional?
I often rely on the ability to manipulate individual elements in the PDF (with Acrobat Professional) and would very much like this the way it was.

Thanks.
Viewing all 122 articles
Browse latest View live