Ok, I finally have a good sketch of a teacup I want to 3D print. The next step is to export the sketch to a 3D printable stl file. I have tried using CADspan Pro (which crashes when I click "process" at the resurfacing step) and a skp_to_dxf.rb plugin (which does export an extension-less file (I am assuming a stl), a file which does not validate when I upload it to Shapeways or Ponoko) but with no luck.
So my question is this, how do I create a high resolution 3D printable stl file from my existing skp file? Here is my skp file.
There's an open source project from SketchUp with and import and export function for STL: https://github.com/SketchUp/sketchup-stl/
(Note, the "latest and greatest is available" which the readme claims, isn't - the source has many changes and fixes.)
Related
Currently I can successfully generate the map output file but I have no idea how to display it in practice. Basically, it should be a 2D SLAM map.
The project I'm using is available at the following link on Github. This project basically uses Google Cartographer 2D SLAM without ROS.
Compiling the project I get an output file called "map_output" but it seems to be completely raw: it's not even binary. How can I convert or read it in a viewable format?
Inside the main file, specifically inside the main function, it can be seen how data consisting of inertial measurements (IMU) is taken as input and processed to provide an output map.
Update: map_output file is available here. (IMU data file is available here.) I'm pretty sure both can be read and/or represented in the same way.
I have used this script to generate local and global descriptors from a point cloud. The script lets you save the descriptors in PCD format (line 105 of the script) but I'm having trouble loading the pcd files in Python to train a model [Opened a discussion here].
I'm thinking of an alternative. Does anyone know a way to save the descriptors as a txt file instead of pcd? Thanks!
#IBitMyBytes Thanks for the reply. I just saved it in default PCD format in PCL and then read it like a text file in Python and removed the headers.
The example code(comes with the Qt creator tool) for loading a wireframe mesh from .obj files in Qt3D draws this elephant (which I found in a site that peddled digital assets).
The question is I want to open the .obj files using my own code and form a geometry. I have code to open .obj file and form triangles. All I want to know is how shall I write the C++ part to populate the geometry.
Like I want to know how to structure the C++ code.
Here is the code that I have to read obj file.
Well for those of you wondering about the same thing I found a github repo that creates a geometry in C++ by reading an OBJ model and rendering it in a Qt3D context.
It is a simple process if you think about it.
First you need to Create a Qt3DRender::QGeometry based object.
class ModelGeometry : public Qt3DRender::QGeometry
{
public:
ModelGeometry(){
}
Then you need to add attributes like points, triangles and normals to it using
auto attribute = new Qt3DRender::QAttribute(parent);
and then adding the attributes to the geometry.
The entire process is illustrated in the repo here: https://github.com/bmkamath2000/Qt3DExamples
After running this repo with the example OBJ file containing the elephant I have got it to draw as expected:
Thanks A Lot!!!
I am referring to " https://github.com/keensoft/alfresco-simple-ocr" to perform OCR on tiff and jpeg files but is saying "Couldn't find trailer dictionary","Couldn't read xref table"," exception Failure("Error: pdfinfo could not determine number of pages. Check the pdf input file.\n")" although the transformation from jpeg or tiff files to PDF files is working properly and the PDF file is visible on the alfresco share page" but no OCR is working on those tiff and jpeg files
Basically there are many tools which are used for performing the OCR on pdf files.It depends on the tool as well.There is one bug in alfresco.It is an library issue.Below are details of that.
Create file called transformation.sh and before adding your command in it you have to add below line in it.If you are using windows you need to create batch file accordingly.
unset LD_LIBRARY_PATH
If you are not setting above in the script file you will face an error while conversation.You can find that bug details on below link of alfresco.Its registered issue in alfresco.
https://issues.alfresco.com/jira/browse/ALF-19946
PDF to PDF conversation are very well explained in below link.
http://www.krutikjayswal.com/2016/07/ocr-on-pdf-file-in-alfresco.html
You might need to change the source code for tiff conversation.
I'm trying to build an an interactive map using RaphaelJS (e.g. http://raphaeljs.com/australia.html). Please check the source. It requires map path data to input. There is no clear explanation anywhere about how to obtain this information, other than the fact that illustrator or inkscape are capable of doing it.
I'm looking to obtain "States" path data from this India map: http://en.wikipedia.org/wiki/File:India-locator-map-blank.svg
well, this one is easy. SVG is just a simple XML file. So you don't have to "extract" anything via Illustrator.
Just open the SVG in any text editor and it's all there! (the path data string you can use with RaphaelJS path-function is held in the d-attribute of the path nodes).
Watch our for copyright issues when using SVG files of others ;)
Skunks
You could also use a converter like Ready.Set.Raphael to extract the paths for you and create the javascript output. It's a real time saver!
For older SVG files the path data will need to be optimized for RaphaelJS. Open the file in Inkspace and save as Optimized AVG. If you have an AVG file that opens as a blank image in Adobe Illustrator, edit the file with a text editor and set the first two values of the viewBox to 0,0. Both steps may be required when working with map AVG files from Wikipedia.