Creating 3d geometry from 2d
hi!
I am new to java3D but I am making investigation to see if it will fit my needs.
I need to make very small 3d-viewer with possibilities of rotate/zoom/pane simple geometry objects. I checked out some tutorials and available viewers, but there are 2 things I didn't find:
1. Geometry should be generated by program. to do this, I have all available information in 2d-files (dimensions, shape etc), but the problem is that I must generate 3d object from 2 files - a path and a section (so called 'lofting' or 'extrusion' in 3d-programs). I can define path with lines + arcs, but sections are very complex. they can be in almost any 2d-file format.
2. In viewer there must be possibility to intersect objects - maybe they should be solid to see correct intersection.
any advice is appreciated - if someone worked on 3d-cad viewers he may help I think.
1. http://www.martinb.com/mjbWorld/programmersGuide/geometry/extrusion.htm has some information on extrusions
2.
Of course you can see the intersection of 2 objects on screen, but Java3D doesnt provide operations to add, substract or intersect shapes geometrically.
If you intend to have a "very small viewer" :-), you could also investigate into vrml. You can have painless extrusions for free there.
good luck
alain
Similar Messages
-
Is there a way to create a playlist from the now playing screen on ios7?
Is there a way to create a playlist from the now playing screen on ios7? I want to be able to hear a song in my collection and immediately add it to an existing playlist or create a new playlist.
Thank you in advanceHi Cornellius,
From the now playing screen there's a Create button at the bottom that allows you to create a
Genius Playlist
New Station form Artist
New Station from Song
IPhone Help, Browse and play
http://help.apple.com/iphone/7/#/iph3cf21a82
The Now Playing screen provides playback controls and shows you what’s playing.
For information on Genius Playlists, see
Archived - Genius for iPod and iPhone
http://support.apple.com/kb/HT2978
I don't see an option to add it to an existing playlist.
Best Regards,
Nubz -
Error while posting a sales order created with reference from contract for
Hi,
I am posting a sales document( Type: WA) created with reference from contract document( type wk2) for delivery. The item category in the sales order of the Item is WAN. On posting this document for delivery I am getting the error as "Item category WAN is not defined". Please help me out how to resolve this issue.
Thanks
JayantHi Jayant,
I think its value contract releated error,
You suppose to check material item category group through T.code-MM02 into sales2 tab and maintain VCIT,
and do item category assignment through T.code- VOV4.
plz.maintain like that,
WK2 - -VCIT- - - WAN(contract item category),
wk2 - - -VCTR- - WAN((contract item category),
you should also maintain same against your standard Sales Document type and for Standard Item category into VOV4,
WA(standard docu.type) -VCIT- - -TAN(your standard docu.type item category),
WA(standard docu.type) - -VCTR(item usage)- -TAN(your standard docu.type item category), -
Create XML file from ABAP with SOAP Details
Hi,
I am new to XML and I am not familiar with JAVA or Web Service. I have searched in SDN and googled for a sample program for creating XML document from ABAP with SOAP details. Unfortunately I couldn't find anything.
I have a requirement for creating an XML file from ABAP with SOAP details. I have the data in the internal table. There is a Schema which the client provided and the file generated from SAP should be validating against that Schema. Schema contains SOAP details like Envelope, Header & Body.
My question is can I generate the XML file using CALL TRANSFORMATION in SAP with the SOAP details?
I have tried to create Transformation (Transaction XSLT_TOOL) in SAP with below code. Also in CALL transformation I am not able to change the encoding to UTF-8. It's always show UTF-16.
<xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:sap="http://www.sap.com/sapxsl" version="1.0">
<xsl:template match="/">
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Header>
<CUNS:HeaderInfo>
<CUNS:InterfaceTypeId>10006</InterfaceTypeId>
<CUNS:BusinessPartnerID>11223344</BusinessPartnerID>
<CUNS:SchemaVersion>1.0</SchemaVersion>
<CUNS:DateTime>sy-datum</DateTime>
</CUNS:HeaderInfo>
</SOAP:Header>
<SOAP:Body>
<xsl:copy-of select="*"/>
</SOAP:Body>
</SOAP:Envelope>
</xsl:template>
</xsl:transform>
In ABAP program, I have written below code for calling above Transformation.
call transformation ('Z_ID')
source tab = im_t_output[]
result xml xml_out.
call function 'SCMS_STRING_TO_FTEXT'
exporting
text = xml_out
tables
ftext_tab = ex_t_xml_data.
Please help me how to generate XML file with SOAP details from ABAP. If anybody have a sample program, please share with me.
Is there any easy way to create the XML file in CALL Transformation. Please help.
ThanksTry ABAP forum, as it seems not to be PI related.
-
Need help in creating a chart from 3 datasets
Need help in creating a chart in SSRS from 3 datasets
Can someone help me in creating a chart from 3 datasets, however datasource is same.Thank you Olaf...
could anyone help me in using union all with the below
WITH a AS (
SELECT
clientid,
DATEPART(year, row_date) AS 'Year',
DATEPART(month, row_date) AS 'Month',
value ,
CASE metricid WHEN 16 THEN 'FCR' ELSE 'Cases' END AS metric
FROM XXXXXX AS V
WHERE metricid IN (16, 11)
AND row_date BETWEEN '2012-01-01' AND '2014-10-01'
AND value IS NOT NULL)
, b AS (
SELECT clientid ,
Year ,
Month ,
value AS 'Cases',
metric
FROM a
WHERE metric = 'cases')
, c AS (
SELECT clientid ,
Year ,
Month ,
value AS 'FCR',
metric
FROM a
WHERE metric = 'FCR')
, d AS (
SELECT b.YEAR, b.MONTH, c.FCR, b.Cases
FROM b INNER JOIN c
ON c.clientid = b.clientid
AND c.[YEAR] = b.[year]
AND c.[month] = b.[month]
WHERE c.fcr <> 0 AND b.cases <> 0
,E AS (
SELECT [Year], [Month], SUM(FCR) AS FCR, SUM(Cases) AS Cases
FROM d
GROUP BY [Year], [Month])
select YEAR, MONTH,
CASE MONTH
WHEN 1 THEN 'Jan'
WHEN 2 THEN 'Feb'
WHEN 3 THEN 'Mar'
WHEN 4 THEN 'Apr'
WHEN 5 THEN 'May'
WHEN 6 THEN 'Jun'
WHEN 7 THEN 'Jul'
WHEN 8 THEN 'Aug'
WHEN 9 THEN 'Sep'
WHEN 10 THEN 'Oct'
WHEN 11 THEN 'Nov'
WHEN 12 THEN 'Dec'
END AS MonthName
,e.FCR AS FCRCases
,e.Cases AS TotalCases
,CASE
WHEN [month] IN (11, 12, 1) THEN 1
WHEN [month] IN (2, 3, 4) THEN 2
WHEN [month] IN (5, 6, 7) THEN 3
WHEN [month] IN (8, 9, 10) THEN 4
END AS 'Quarter'
--,CONVERT(DECIMAL(18, 2),(e.FCR/e.Cases)*100) AS FCRRaw
from e
order by YEAR, MONTH
**************2nd query*************
WITH a AS (
SELECT
clientid,
DATEPART(year, row_date) AS 'Year',
DATEPART(month, row_date) AS 'Month',
value,
CASE metricid WHEN 56 THEN 'numerator' ELSE 'denominator' END AS metric
FROM XXXXXXX.[Values] AS V
WHERE metricid IN (56, 10)
--WHERE metricid IN (11,16)
AND row_date BETWEEN '2013-10-01' AND '2014-02-01'
AND value IS NOT NULL)
, b AS (
SELECT clientid ,
Year ,
Month ,
value AS 'numerator',
metric
FROM a
WHERE metric = 'numerator')
, c AS (
SELECT clientid ,
Year ,
Month ,
value AS 'denominator',
metric
FROM a
WHERE metric = 'denominator')
, d AS (
SELECT b.YEAR, b.MONTH, c.denominator, b.numerator
FROM b INNER JOIN c
ON c.clientid = b.clientid
AND c.[YEAR] = b.[year]
AND c.[month] = b.[month]
WHERE c.denominator <> 0 AND b.numerator <> 0
, e AS (
SELECT [Year], [Month], SUM(numerator) AS numerator, SUM(denominator) AS denominator
FROM d
GROUP BY [Year], [Month]
SELECT *,
CASE
WHEN [month] IN (11, 12, 1) THEN 1
WHEN [month] IN (2, 3, 4) THEN 2
WHEN [month] IN (5, 6, 7) THEN 3
WHEN [month] IN (8, 9, 10) THEN 4
END AS 'Quarter'
FROM e
ORDER BY 1,2
******************3rd query**************
WITH a AS (
SELECT --L.[LocationGroupId],
-- T.locationid,
-- T.AccountId,
TR.datestamp,
/*Convert(NVARCHAR, DatePArt(year, TR.datestamp)) + '-' + Convert(NVARCHAR, DatePArt(month, TR.datestamp)) + '-01'*/
TR.Period AS ValueDate,
CASE WHEN TR.TargetResultState = 0 THEN 0 WHEN TR.TargetResultState = 1 THEN 1 WHEN TR.TargetResultState = 2 THEN 1 ELSE 0 END AS Met,
CASE WHEN CONVERT(DATE, Convert(NVARCHAR, DatePArt(year, TR.datestamp)) + '-' + Convert(NVARCHAR, DatePArt(month, TR.datestamp)) + '-01') > T.Startdate AND CONVERT(DATE, Convert(NVARCHAR, DatePArt(year, TR.datestamp))
+ '-' + Convert(NVARCHAR, DatePArt(month, TR.datestamp)) + '-01') < T.Enddate THEN 1 ELSE 0 END AS ActiveTarget
FROM XXXXXX AS TR
INNER JOIN dbo.Target T ON TR.TargetID = T.ID
--INNER JOIN dbo.Location L ON T.Locationid = L.Id
WHERE --locationid <> - 1 AND
TR.Period IN ('201306', '201307', '201308', '201309', '201310', '201311', '201312', '201401'))
select ValueDate, SUM(Met) AS Met, Count(ActiveTarget) AS ActiveTargets,
right(ValueDate,2) as Month
,left(ValueDate,4) as Year
,CASE
WHEN right(ValueDate,2) IN (11, 12, 1) THEN 1
WHEN right(ValueDate,2) IN (2, 3, 4) THEN 2
WHEN right(ValueDate,2) IN (5, 6, 7) THEN 3
WHEN right(ValueDate,2) IN (8, 9, 10) THEN 4
END AS 'Quarter'
from a
group by ValueDate
order by ValueDate -
How to create a Report from WebDympro
Hi All,
I just want to know how I can create a report from WebDynpro? I need to pull data from R/3 using a RFC function module, but I don't know if it exists a software to create reports.
Thanks in advance
Alexis RamirezHi Rich,
Even i had a similar kind of problem. I wanted to fetch data from BI through the XMLA Connector which are created in Query Designer and then i wanted to fetch these fields and rearrange them and put it in a report format by colouring certain fields. Can the same can be done in WebDynpro. -
How create temporary table from list of values
Can you anybody advise me how can I create temporary table from list of values? I have list of values and need create temporary table for next use with command JOIN etc.
Thank you for helpNO, you can not create temporary table in oracle on the fly ( Like #Tabels in SQl Server or Sybase ) , you will have to use the GTT i.e Global Temporary Tables
check the following link GTT :
to flush the tables after commit
CREATE GLOBAL TEMPORARY TABLE my_temp_table (
column1 NUMBER,
column2 NUMBER
) ON COMMIT DELETE ROWS;In contrast, the ON COMMIT PRESERVE ROWS clause indicates that rows should be preserved until the end of the session.
so to keep rows in Table after commit
CREATE GLOBAL TEMPORARY TABLE my_temp_table (
column1 NUMBER,
column2 NUMBER
) ON COMMIT PRESERVE ROWS; -
How can I create a Report from a SWT-Application?
Post Author: mkoch
CA Forum: JAVA
I'm a Developer and new to Crystal Reports and I have the job to create a Report from a SWT-Application.The report-files ( *.rpt) were created with Crystal Reports 10 or 11.> I'm not sure but I have access to a machine where Crystal Reports 10 Developer an Crystal Reports 11 Runtime are installed.Can anybody describe in detail how I can start the creation of a report from my Java-Application?> What libraries are needed, where can I get them and so on.I saw in the CR10-Setup that there is a Java-feature - but unfortunately this is not installed on my test-machine.--> Is it necessary to install this feature or can I get this files on businessobjects.com?Is it possible to start the report-creation from command-line?I saw a Java-example on the internet which uses Report.exe - but I haven't found this on my machine.I hope, that somebody can help me.GreetingsMarkusInv. #
Item
Sale Price
Lisa
Oct Sold 12
Oct Sold 12-2
Oct Sold 12-3
149
Vase Lidded
25
201
Bird
7
7
202
Bird
7
203
Bird
7
204
Bird
7
7
205
Bird
7
7
206
Bird
7
7
207
Bird
7
207
Bird
7
7
208
Bird
7
7
209
Bird
7
7
This is my very simple inventory. On previous program I could sort by those items that did not have any figure in the row across. Then I could print a report of open inventory. Such as 149 Lidded Vase has not sales amount in the four colums across, thus it is open inventory. How can I capture all those items in one report? -
Hyperlinks not converting when creating a pdf from Word 2010 to Adobe Acrobat 11.0.6
First off, let me say that these are not table of contents hyperlinks. I have created a document in Word 2010 (not a MAC) with hyperlinks to files residing on our company's intranet. In Word the hyperlinks work great but when I create the pdf, the links do not work. I have converted using both PDFMaker from Word and Create a pdf from within Acrobat. Yes, I have all the boxes checked regarding saving links. The links appear to work partially. Meaning that when I hover the cursor over the link, the pointy finger appears but when I click I get a pop-up message telling me the file could not be opened. Also, when I hover over the hyperlink, the address appears. So, I think it knows there's a link and it tries to open but can't. When I create the file within Adobe the link works - once. When I click on the link I get a pop-up window asking me if I want to save my file before closing. After my response the file closes and the linked file opens. However, when I go back into the file and try the hyperlink again, I get the pop-up telling me the file cannot be opened. HELP! I am at my wits end. After spending hours yesterday trying to research (I think I read every thread related to hyperlinks but I am not using a Mac, table of contents or Adobe 7 around which it seems all the prior questions revolve) and futily creating and recreating the pdf (as if doing the same thing repeatedly would somehow magically work) I am about to give up. This is a document that will be published to our intranet for use by employees which cross-references other documents to which they can refer for additional information. I would prefer to publish a pdf and not a Word document. Any suggestions would be appreciated.
Thanks for your input Bill. I've checked the preferences and "view large images" is turned on. It's not all of the images which are missing, only certain ones do not transfer over to PDF.
-
BO v5.1 - creating a report from an oracle stored procedure
Post Author: newrochelle
CA Forum: Publishing
hi to all,
im using BO 5.1 and i need to create a document from an oracle stored procedure that have only one IN parameter and ten OUT parameters.
Creating the new report I selected the database connection then I choose the stored procedure name from the list, I inserted the value for the IN parameter and finally I click on Run button.
I got the following error message:
ORA-06550: line 1, column 38: :PLS-00103: Encountered the symbol
"," when expecting one of the following: : : ( - + case mod
new not null others <an identifier> : <a double-quoted
delimited-identifier> <a bind variable> avg : count current
exists max min prior sql stddev sum variance : execute forall
merge time timestamp interval date : <a string literal with
character set specification> : <a number> <a single-quoted SQL
string> pipe : <an alternatively-quoted string literal with
character set specification> : <an alternatively-q :-6550
it seems to be caused by the OUT parameters!
i leaved them without any value.
it's the first time that I used a stored procedure to create a BO report, but I think the OUT parameters are needed to do that, otherwise what data will be presented in the report???
can you help me?
please answear me ASAP.
Thank's in advance
Regards
AndreaPost Author: synapsevampire
CA Forum: Publishing
Try posting in a BO forum, this is Crystal Reports.
-k -
Hello,
I am getting this Error message"error determining posting period(infostructure S008,Variant Z2,RC3)" while creating Sales order from Inbound Idocs in the IDOC,which is affecting sales order creation.
While viewing this Info structure S008, I could see no records have been maintained. Wanted to know the reasons behind this Hard error?
Is it something related to Date Field used in the Update Rules for this Infostructure which is causing this posting period error?
Appreciate your inputs on this.
Thanks and Regards
Mohammed RoshanThank you Jelena,I checked the Ship. Delivery dates in the IDOC which are for Current Fiscal Year- 20140703 and 20140711,Could there be any other reason for this error?
Could it be an issue with e Update rule in this Infostructire S008
Secondly when we try change the update rule thru MC25 for this Infostructure S008,It gives a message"
"Maintenance of SAP standard updates not allowed"
Kindly advice
Thanks and Regards
Mohammed Roshan -
I need to create a PDF from InDesign that people can edit in Reader or Acrobat
I need to create a PDF from InDesign that people can edit (for example, change a name from "John" to "Johnny") from either Adobe Reader or Adobe Acrobat. I have already looked at forms, but they do not keep your font colors, faces, and sizes and just make everything that is selected as a text form Black, 12pt, Times New Roman.
Can anyone here help me?Vincent,
If you use Acrobat pro, generate your .pdf file and then save it as (french version):
... so that anyone using Acrobat Reader (or Pro, of course) can modify the .pdf file (with limitations), add comments, ...
If you want to try to "protect" your .pdf file, you can try with this (in the "Préférences" menu (french version)): -
Where are files downloaded to on the mac when creating a pdf from web pages?
where on the mac HD are files downloaded to when creating a pdf from web pages?
Im creating web pages from the whole site so creating a large document, so wondered where these fiels are stored on the mac so I can delete when finished as dont want to clog up the hard drive.Look at the LiveCycle server products.
-
Automize Create a PDF From Web Page
I am trying to create PDF's from a list of 100+ web pages / URLs.
I would like to automize the process as to save me time.
(I have been doing some research but I am a newbie when it comes to programing / scripting / coding)
My questions are
1) Is it possible to write a script to execute Acrobat's Create PDF from Web Page option in order to automize a long list of URLs?
Something along the lines of .bat file (reading something like)
acrobat.exe "http://www.google.com" "%CD%\GoogleTest.pfd"
acrobat.exe "http://www.yahoo.com" "%CD%\YahooTest.pdf"
2) If it is possible to script / automize Acrobat's Create PDF from Web Page can you lead me to the right direction as to what programs I need to write a script (if any) and any examples of how the script would be written would be extremely helpful
Thank you for your timeYou can post your question in the forum for Acrobat Scripting or Acrobat SDK.
-
Creating Excise Invoice from Sales Delivery using DI API.
Hi Experts,
I have been searching a lot for any Business Object for creating Excise Invoice base on Sales Delivery using DI API.. But have not yet found any one.
I want to create Invoice for excisable items from Sales Delivery using DI API.,for Excisable items we cannot create standalone A/R Invoice . We need to create Excise Invoice also . But How to create Excise Invoice based on Sales Delivery using DI API. Is there any Business Object for that.
Please suggest me.
Thanks and Regards,
Pooja Singh.Hi all,
I have not received any reply for this thread. Does this mean that there is no provision for creating Excise Invoice from Sales Delivery ? Actually I was asked to create sales delivery and then Outgoing Excise Invoice and then Sales Invoice using DI API.
But I don't find any Business Object for this in SDK ? Is it really not possible to create Outgoing Excise Invoice from Sales Delivery using DI API.? If possible then how?
Please reply me if anyone has got any idea in this regard.
Thanks and Regards,
Pooja Singh.
Maybe you are looking for
-
Hi I would like to get help with my iTunes account
Im having problems with my iTunes account and also. With my payment info
-
I am a Windows Vista User. I updated my iTunes Version 10.3. Then, when I re-opened my iTunes, all files were gone! Good thing I consolidated the files and just imported the files again. But, this happens every time I close and open my iTunes. Help?
-
Sales order actuals vs forecast
Hi, I would like to have a report showing the difference between the sales order actuals and forecasted amount for a particular inventory item.I guess for the actuals, data can be taken from the oe_order_headers_all and oe_order_lines_all . The table
-
Second Local currency deletion
Hello guys, My client has defined 2 local currencies for a company code into FI-GL (ECC6). This company is productive and some documents have already been recorded... The second local currency type is "50" and I want to delete this 2nd local currency
-
Left, Right or center justified. Need some help
Hi, I have to do an assignment in which i am asked to read a file containing text of strings. I have to set some properties for my implementation class so that i will get the output in desired format i.e left, right or center justified. Can anybody t